From 6ebf671f1d707f01105ee403e3fb640877e53dfc Mon Sep 17 00:00:00 2001 From: Manel Eljishi Date: Fri, 25 Oct 2024 12:42:21 +0200 Subject: [PATCH] Ignore exit code because it mix.audit fails when a vuln is found --- plugin/src/lib/runner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/lib/runner.ts b/plugin/src/lib/runner.ts index 62bf534..c0f877b 100644 --- a/plugin/src/lib/runner.ts +++ b/plugin/src/lib/runner.ts @@ -19,7 +19,7 @@ export async function executeRunner(): Promise{ command: 'mix deps.audit', args: ['--format=json'], cwd: projectPath, - ignoreExitCode: false + ignoreExitCode: true }) if (typeof stdout !== 'object'){ stdout = JSON.parse(stdout);