portable-agent-layer 0.29.0 → 0.29.1
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/package.json +1 -1
- package/src/cli/index.ts +3 -3
package/package.json
CHANGED
package/src/cli/index.ts
CHANGED
|
@@ -918,12 +918,12 @@ async function update() {
|
|
|
918
918
|
process.exit(1);
|
|
919
919
|
}
|
|
920
920
|
} else {
|
|
921
|
-
log.info("Updating via
|
|
922
|
-
const up = spawnSync("bun", ["
|
|
921
|
+
log.info("Updating via bun...");
|
|
922
|
+
const up = spawnSync("bun", ["add", "-g", `portable-agent-layer@${result.latest}`], {
|
|
923
923
|
stdio: "inherit",
|
|
924
924
|
});
|
|
925
925
|
if (up.status !== 0) {
|
|
926
|
-
log.error(
|
|
926
|
+
log.error(`Update failed. Try: bun add -g portable-agent-layer@${result.latest}`);
|
|
927
927
|
process.exit(1);
|
|
928
928
|
}
|
|
929
929
|
}
|