Skip to content

Commit

Permalink
feat: add loglevel error
Browse files Browse the repository at this point in the history
  • Loading branch information
wbali authored and csutorasr committed Jul 1, 2022
1 parent ee28df0 commit fb70dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/audit/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const runAudit = (
let stdout = '';

const command = /^win/.test(process.platform) ? 'npm.cmd' : 'npm';
const command_args = ['audit', '--json'];
const command_args = ['audit', '--json', '--loglevel=error'];

if (options.severity) {
command_args.push(`--audit-level=${options.severity}`);
Expand Down

0 comments on commit fb70dfa

Please sign in to comment.