pnpm version: 8.5.1
pnpm swallows empty strings from cli arguments, which breaks scripts that might have those
Code to reproduce the issue:
- Add a
echo script to package.json => "echo":"echo",
- run the script
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.0
- Windows, macOS, or Linux?: maOS
pnpm version: 8.5.1
pnpmswallows empty strings from cli arguments, which breaks scripts that might have thoseCode to reproduce the issue:
echoscript topackage.json=>"echo":"echo",pnpm echo "foo" "" "bar"Expected behavior:
> echo "foo" "" "bar"foo barActual behavior:
> echo "foo" "bar"foo barAdditional information:
node -vprints: v16.16.0