We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
8.15.5
CLI
No response
Add a foo.sh:
foo.sh
exit 87
Add a package.json:
package.json
"scripts": { "foo": "./foo.sh" },
run
pnpm run foo echo $?
gives 1
1
exit code should be preserved, instead of exit 1 when the exit code is not zero.
exit code should be preserved.
v20.10.0
The text was updated successfully, but these errors were encountered:
fix(run): preserve the exit code of the child process
62f7614
close #7817
fix(run): preserve the exit code of the child process (#7820)
de06d05
f13d198
zkochan
Successfully merging a pull request may close this issue.
Verify latest release
pnpm version
8.15.5
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
Add a
foo.sh
:Add a
package.json
:run
gives
1
Describe the Bug
exit code should be preserved, instead of exit
1
when the exit code is not zero.Expected Behavior
exit code should be preserved.
Which Node.js version are you using?
v20.10.0
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
No response
The text was updated successfully, but these errors were encountered: