mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 20:20:49 +00:00
Rename writeVerboseInformation to writeVerbose
This commit is contained in:
parent
c5e25f4813
commit
ddc8218a2d
4 changed files with 10 additions and 12 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue