backstep 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/setup.js +1 -1
- package/mod/.claude-plugin/plugin.json +1 -1
- package/package.json +1 -1
package/dist/setup.js
CHANGED
|
@@ -13,7 +13,7 @@ import { sendInstall, telemetryOn } from "./telemetry.js";
|
|
|
13
13
|
const ROOT = join(dirname(fileURLToPath(import.meta.url)), "..");
|
|
14
14
|
function run(cmd, args) {
|
|
15
15
|
const r = spawnSync(cmd, args, { encoding: "utf8" });
|
|
16
|
-
return { ok: r.status === 0, out: `${r.stdout ?? ""}${r.stderr ?? ""}`.trim(), missing: r.error
|
|
16
|
+
return { ok: r.status === 0, out: `${r.stdout ?? ""}${r.stderr ?? ""}`.trim(), missing: Boolean(r.error) };
|
|
17
17
|
}
|
|
18
18
|
// npx runs us from a cache that gets cleaned, so the mod needs a lasting copy.
|
|
19
19
|
// A global install also puts `backstep` on the PATH; where npm's global folder
|