Skip to content

Commit

Permalink
Ignore exit code because it mix.audit fails when a vuln is found
Browse files Browse the repository at this point in the history
  • Loading branch information
Manel Eljishi authored and Manel Eljishi committed Oct 25, 2024
1 parent 859ed6c commit 6ebf671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/src/lib/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function executeRunner(): Promise<void>{
command: 'mix deps.audit',
args: ['--format=json'],
cwd: projectPath,
ignoreExitCode: false
ignoreExitCode: true
})
if (typeof stdout !== 'object'){
stdout = JSON.parse(stdout);
Expand Down

0 comments on commit 6ebf671

Please sign in to comment.