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
pnpm run
pnpm swallows empty strings from cli arguments, which breaks scripts that might have those
pnpm
echo
package.json
"echo":"echo",
pnpm echo "foo" "" "bar"
> echo "foo" "" "bar"
foo bar
> echo "foo" "bar"
node -v
The text was updated successfully, but these errors were encountered:
It seems to be caused here, not sure if this should be fixed, maybe we can just filter the empty string in params for install command.
Sorry, something went wrong.
fix: should not swallows empty string in params (#6871)
32679f0
close #6594
Successfully merging a pull request may close this issue.
pnpm version: 8.5.1
pnpm
swallows empty strings from cli arguments, which breaks scripts that might have thoseCode to reproduce the issue:
echo
script topackage.json
=>"echo":"echo",
pnpm echo "foo" "" "bar"
Expected behavior:
> echo "foo" "" "bar"
foo bar
Actual behavior:
> echo "foo" "bar"
foo bar
Additional information:
node -v
prints: v16.16.0The text was updated successfully, but these errors were encountered: