diff --git a/.changeset/chilly-lions-shake.md b/.changeset/chilly-lions-shake.md new file mode 100644 index 000000000..c1527dd45 --- /dev/null +++ b/.changeset/chilly-lions-shake.md @@ -0,0 +1,5 @@ +--- +'@lagon/cli': patch +--- + +Fix returned exit code diff --git a/crates/cli/npm/getBinary.js b/crates/cli/npm/getBinary.js index 732c28f6c..6e5dd7aae 100644 --- a/crates/cli/npm/getBinary.js +++ b/crates/cli/npm/getBinary.js @@ -38,9 +38,6 @@ function getPlatform() { } export function getBinary() { - // Prevent exiting with code 1 - process.exit = () => { }; - const { platform, name } = getPlatform(); const customRequire = createRequire(import.meta.url);