diff options
| author | Tobias Järvelöv <tobias.jarvelov@mullvad.net> | 2025-09-02 13:58:41 +0200 |
|---|---|---|
| committer | Tobias Järvelöv <tobias.jarvelov@mullvad.net> | 2025-09-02 13:58:44 +0200 |
| commit | b2b7645a2af9576da8a24426f088045cda36c9f9 (patch) | |
| tree | 504ea0f7da33701a3807e89058034a84d9ad6b85 /desktop | |
| parent | c6f27dbb596d9df86e61d846e8e388e5a8ec7bfa (diff) | |
| download | mullvadvpn-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.js | 1 |
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); } } |
