summaryrefslogtreecommitdiffhomepage
path: root/desktop
diff options
context:
space:
mode:
authorTobias Järvelöv <tobias.jarvelov@mullvad.net>2025-09-02 13:58:41 +0200
committerTobias Järvelöv <tobias.jarvelov@mullvad.net>2025-09-02 13:58:44 +0200
commitb2b7645a2af9576da8a24426f088045cda36c9f9 (patch)
tree504ea0f7da33701a3807e89058034a84d9ad6b85 /desktop
parentc6f27dbb596d9df86e61d846e8e388e5a8ec7bfa (diff)
downloadmullvadvpn-b2b7645a2af9576da8a24426f088045cda36c9f9.tar.xz
mullvadvpn-b2b7645a2af9576da8a24426f088045cda36c9f9.zip
Exit process with an exit code when an npm command exits with an error
Diffstat (limited to 'desktop')
-rw-r--r--desktop/packages/mullvad-vpn/tasks/utils.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/packages/mullvad-vpn/tasks/utils.js b/desktop/packages/mullvad-vpn/tasks/utils.js
index 0b40022d53..8039998bf0 100644
--- a/desktop/packages/mullvad-vpn/tasks/utils.js
+++ b/desktop/packages/mullvad-vpn/tasks/utils.js
@@ -52,6 +52,7 @@ async function runNpmScript(scriptName) {
console.error(new Error(error));
});
}
+ process.exit(1);
}
}