fix(plugins): run gauntlet qa through source cli · openclaw/openclaw@e4cb0f6
vincentkoc
·
2026-04-29
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -219,6 +219,13 @@ function openclawCommand(repoRoot, args) {
|
219 | 219 | }; |
220 | 220 | } |
221 | 221 | |
| 222 | +function sourceOpenclawCommand(repoRoot, args) { |
| 223 | +return { |
| 224 | +command: process.execPath, |
| 225 | +args: [path.join(repoRoot, "scripts", "run-node.mjs"), ...args], |
| 226 | +}; |
| 227 | +} |
| 228 | + |
222 | 229 | function chunkArray(values, chunkSize) { |
223 | 230 | const chunks = []; |
224 | 231 | for (let index = 0; index < values.length; index += chunkSize) { |
@@ -423,7 +430,7 @@ function runQaChunks(params) {
|
423 | 430 | cwd: params.repoRoot, |
424 | 431 | env: params.env, |
425 | 432 | logDir: path.join(params.outputDir, "logs", "qa-suite"), |
426 | | - ...openclawCommand(params.repoRoot, [ |
| 433 | + ...sourceOpenclawCommand(params.repoRoot, [ |
427 | 434 | "qa", |
428 | 435 | "suite", |
429 | 436 | "--provider-mode", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。