Rename writeVerboseInformation to writeVerbose

This commit is contained in:
Sander Declerck 2025-10-27 17:14:45 +01:00
parent c5e25f4813
commit ddc8218a2d
No known key found for this signature in database
4 changed files with 10 additions and 12 deletions

View file

@ -20,12 +20,12 @@ export async function auditChanges(changes) {
);
if (malwarePackage) {
ui.writeVerboseInformation(
ui.writeVerbose(
`Safe-chain: Package ${change.name}@${change.version} is marked as malware: ${malwarePackage.status}`
);
disallowedChanges.push({ ...change, reason: malwarePackage.status });
} else {
ui.writeVerboseInformation(
ui.writeVerbose(
`Safe-chain: Package ${change.name}@${change.version} is clean`
);
allowedChanges.push(change);