mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
Improve cli output.
This commit is contained in:
parent
32f5ef9b16
commit
ccaa7934ee
9 changed files with 41 additions and 25 deletions
|
|
@ -61,7 +61,7 @@ export async function scanCommand(args) {
|
|||
}
|
||||
|
||||
if (!audit || audit.isAllowed) {
|
||||
spinner.succeed("Safe-chain: No malicious packages detected.");
|
||||
spinner.stop();
|
||||
} else {
|
||||
printMaliciousChanges(audit.disallowedChanges, spinner);
|
||||
await onMalwareFound();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue