Rename verifiedPackages to totalPackages, fix e2e tests

This commit is contained in:
Sander Declerck 2025-11-05 12:19:47 +01:00
parent e4c40330f7
commit 378b0ac7c9
No known key found for this signature in database
11 changed files with 89 additions and 59 deletions

View file

@ -63,11 +63,11 @@ export async function main(args) {
}
const auditStats = getAuditStats();
if (auditStats.verifiedPackages > 0) {
if (auditStats.totalPackages > 0) {
ui.emptyLine();
ui.writeInformation(
`${chalk.green("✔")} Safe-chain: Scanned ${
auditStats.verifiedPackages
auditStats.totalPackages
} packages, no malware found.`
);
}