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
> var quote = require('shell-quote/quote'); > quote([ 'x', '', 'x' ]); 'x x'
ie. passing in 3 arguments, we only get 2 out as the empty arg does not get any treatment.
The correct output would be x '' x.
x '' x
The text was updated successfully, but these errors were encountered:
Indeed, given that parse('-x "" y') is [ '-x', '', 'y' ], it seems like a clear bug that quote([ '-x', '', 'y' ]) is not [ '-x', '', 'y' ].
parse('-x "" y')
[ '-x', '', 'y' ]
quote([ '-x', '', 'y' ])
Sorry, something went wrong.
59d29ea
No branches or pull requests
ie. passing in 3 arguments, we only get 2 out as the empty arg does not get any treatment.
The correct output would be
x '' x
.The text was updated successfully, but these errors were encountered: