Skip to content

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

@meljishi

Description

@meljishi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugsomething isn't working🧩 js-packages-pluginPlugin for audit and outdated dependencies

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions