fix: clean up full release helper branches · openclaw/openclaw@a2cab17
steipete
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -22,10 +22,11 @@ function run(command, args, options = {}) {
|
22 | 22 | console.log(["+", command, ...args].join(" ")); |
23 | 23 | return ""; |
24 | 24 | } |
25 | | -return execFileSync(command, args, { |
| 25 | +const output = execFileSync(command, args, { |
26 | 26 | encoding: "utf8", |
27 | 27 | stdio: options.stdio ?? ["ignore", "pipe", "inherit"], |
28 | | -}).trim(); |
| 28 | +}); |
| 29 | +return typeof output === "string" ? output.trim() : ""; |
29 | 30 | } |
30 | 31 | |
31 | 32 | function runStatus(command, args, options = {}) { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。