electrobun 0.1.13-beta.4 → 0.1.13-beta.5
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 +8 -6
package/package.json
CHANGED
package/src/cli/index.ts
CHANGED
|
@@ -1980,13 +1980,15 @@ exec "\$LAUNCHER_BINARY" "\$@"
|
|
|
1980
1980
|
artifactsToUpload.push(patchFilePath);
|
|
1981
1981
|
const result = Bun.spawnSync(
|
|
1982
1982
|
[bsdiffpath, prevTarballPath, tarPath, patchFilePath, "--use-zstd"],
|
|
1983
|
-
{
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
result.stderr.toString()
|
|
1983
|
+
{
|
|
1984
|
+
cwd: buildFolder,
|
|
1985
|
+
stdout: "inherit",
|
|
1986
|
+
stderr: "inherit"
|
|
1987
|
+
}
|
|
1989
1988
|
);
|
|
1989
|
+
if (!result.success) {
|
|
1990
|
+
throw new Error(`bsdiff failed with exit code ${result.exitCode}`);
|
|
1991
|
+
}
|
|
1990
1992
|
}
|
|
1991
1993
|
} else {
|
|
1992
1994
|
console.log("prevoius version not found at: ", urlToLatestTarball);
|