Improve cli output.

This commit is contained in:
Sander Declerck 2025-10-03 16:21:55 +02:00
parent 32f5ef9b16
commit ccaa7934ee
No known key found for this signature in database
9 changed files with 41 additions and 25 deletions

View file

@ -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();