mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 20:20:49 +00:00
Rename verifiedPackages to totalPackages, fix e2e tests
This commit is contained in:
parent
e4c40330f7
commit
378b0ac7c9
11 changed files with 89 additions and 59 deletions
|
|
@ -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.`
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue