cli icon indicating copy to clipboard operation
cli copied to clipboard

Js Package Analyzer doesn't ignore exit code on yarn-modern package manager

Open meljishi opened this issue 4 months ago • 0 comments

What happened?

As commented on the slack channel, after using the javascript plugin with yarn v4 we couldn't make our runner work. The yarn audit command errors out when a dependency with a critical or high issue arises and the plugin doesn't ignore the exit code Image

What would you expect to happen?

The plugin wrapper should only read the generated report and push it to the portal. Only should report an error when the process itselft crashes, not when the audit reports a critical issue.

What steps did you take?

Just run the analysis

Code PushUp package version

@code-pushup/[email protected]

What operation system are you on?

Linux

Node version

No response

Relevant log output

No response

meljishi avatar Oct 11 '24 14:10 meljishi