fix: repair bundled deps in release pack smoke · openclaw/openclaw@c336ab9
steipete
·
2026-05-03
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -116,6 +116,7 @@ export const PACKED_CLI_SMOKE_COMMANDS = [
|
116 | 116 | ["config", "schema"], |
117 | 117 | ["models", "list", "--provider", "amazon-bedrock"], |
118 | 118 | ] as const; |
| 119 | +export const PACKED_BUNDLED_RUNTIME_DEPS_REPAIR_ARGS = ["plugins", "deps", "--repair"] as const; |
119 | 120 | export const PACKED_COMPLETION_SMOKE_ARGS = [ |
120 | 121 | "completion", |
121 | 122 | "--write-state", |
@@ -364,6 +365,15 @@ function runPackedBundledPluginActivationSmoke(packageRoot: string, tmpRoot: str
|
364 | 365 | }); |
365 | 366 | |
366 | 367 | writePackedBundledPluginActivationConfig(homeDir); |
| 368 | +execFileSync( |
| 369 | +process.execPath, |
| 370 | +[join(packageRoot, "openclaw.mjs"), ...PACKED_BUNDLED_RUNTIME_DEPS_REPAIR_ARGS], |
| 371 | +{ |
| 372 | +cwd: packageRoot, |
| 373 | +stdio: "inherit", |
| 374 | + env, |
| 375 | +}, |
| 376 | +); |
367 | 377 | execFileSync(process.execPath, [join(packageRoot, "openclaw.mjs"), "plugins", "doctor"], { |
368 | 378 | cwd: packageRoot, |
369 | 379 | stdio: "inherit", |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。