Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exits with status code 0 even if script is not found #8047

Open
2 of 4 tasks
pkuczynski opened this issue May 3, 2024 · 0 comments
Open
2 of 4 tasks

Exits with status code 0 even if script is not found #8047

pkuczynski opened this issue May 3, 2024 · 0 comments

Comments

@pkuczynski
Copy link

pkuczynski commented May 3, 2024

Verify latest release

  • I verified that the issue exists in the latest pnpm release

pnpm version

9.0.6

Which area(s) of pnpm are affected? (leave empty if unsure)

CLI

Link to the code that reproduces this issue or a replay of the bug

No response

Reproduction steps

pnpm --filter my-package non-existing-script

Describe the Bug

Displays: None of the selected packages has a "non-existing-script" script
Return Status: 0

Expected Behavior

Return Status: 1

Which Node.js version are you using?

20.12.2

Which operating systems have you used?

  • macOS
  • Windows
  • Linux

If your OS is a Linux based, which one it is? (Include the version if relevant)

No response

@pkuczynski pkuczynski changed the title Pnp run exists with status code 0 even if script is not found Exits with status code 0 even if script is not found May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant