Restructure code into separate files

This commit is contained in:
Sander Declerck 2026-01-19 14:46:04 +01:00
parent 0e7cce750d
commit fd559cfc63
No known key found for this signature in database
4 changed files with 193 additions and 169 deletions

View file

@ -73,20 +73,20 @@ export async function main(args) {
ui.writeVerbose(
`${chalk.green("✔")} Safe-chain: Scanned ${
auditStats.totalPackages
} packages, no malware found.`
} packages, no malware found.`,
);
}
if (proxy.hasSuppressedVersions()) {
ui.writeInformation(
`${chalk.yellow(
""
)} Safe-chain: Some package versions were suppressed due to minimum age requirement.`
"",
)} Safe-chain: Some package versions were suppressed due to minimum age requirement.`,
);
ui.writeInformation(
` To disable this check, use: ${chalk.cyan(
"--safe-chain-skip-minimum-package-age"
)}`
"--safe-chain-skip-minimum-package-age",
)}`,
);
}