You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes Git Bash to break (when used as as shell), because caret cannot be used for
escaping. It will only work if the command is spawned in plain cmd where caret can escape.
What is the expected behavior?
The command should work as expected without yarn run.
e.g. running `./node_modules/.bin/bazelisk query 'kind("rule_1|rule_2")' works.
Steps to Reproduce
Create an empty project
Add @bazel/bazelisk as dependency
Run the command shared above (on a Windows machine in Git Bash)
Verify that it works expected if the command is run outside of Yarn
Environment
Node Version: 12.13.0
Yarn v1 Version: 1.12.1
OS and version: Windows 10
The text was updated successfully, but these errors were encountered:
Bug description
Command
yarn run bazelisk query 'kind("rule_1|rule_2")'
What is the current behavior?
Yarn uses
puka
for shell quoting.puka
seems to convert the arguments tothe following string:
This causes Git Bash to break (when used as as shell), because caret cannot be used for
escaping. It will only work if the command is spawned in plain
cmd
where caret can escape.What is the expected behavior?
The command should work as expected without
yarn run
.e.g. running `./node_modules/.bin/bazelisk query 'kind("rule_1|rule_2")' works.
Steps to Reproduce
@bazel/bazelisk
as dependencyEnvironment
12.13.0
1.12.1
The text was updated successfully, but these errors were encountered: