mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Exit installation when detecting changes failed due to non-zero exit code in dry-run
This commit is contained in:
parent
f7589160af
commit
528a60c166
5 changed files with 169 additions and 10 deletions
|
|
@ -15,6 +15,7 @@ export async function main(args) {
|
|||
}
|
||||
} catch (error) {
|
||||
ui.writeError("Failed to check for malicious packages:", error.message);
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
var result = getPackageManager().runCommand(args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue