pnpm -r publish
never fails or stop when the inner command exits with a non-zero code
#5528
Labels
pnpm -r publish
never fails or stop when the inner command exits with a non-zero code
#5528
pnpm version: 7.13.5
Code to reproduce the issue:
pnpm -r publish
Expected behavior: fails when the inner command exits with a non-zero code
Actual behavior: continue publish
Additional information:
node -v
prints: tried on bothv16.15.0
andv18.8.0
Screenshot
I changed
.npmrc
to make it fail on purpose. as you can see the publish process is moving forward instead of ending with a non-zero code. looks like the code in recursivePublish.ts doesn't handle the situation.The text was updated successfully, but these errors were encountered: