-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
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
Yarn workspace does not propagate flags #7776
Comments
confirmed against v1.21.1. I'll try to see what's up with it. It's a bit tricky because |
@thevojacek as a workaround, if you remove the |
…ace script Passes arguments follwing `--` when running a workspace script (`yarn workspace pkg run command -- arg`). Previously these parameters were being trimmed off and ignored. fixes yarnpkg#7776
Thank you for investigation! |
… running a workspace script Passes arguments follwing `--` when running a workspace script (`yarn workspace pkg run command -- arg`). Previously these parameters were being trimmed off and ignored. fixes yarnpkg#7776
…pts (#7786) * fix(workspaces): Passes arguments follwing "--" when running a workspace script Passes arguments follwing `--` when running a workspace script (`yarn workspace pkg run command -- arg`). Previously these parameters were being trimmed off and ignored. fixes #7776 * fix spelling in changelog * fix(workspaces): fix(workspaces): Passes arguments follwing "--" when running a workspace script Passes arguments follwing `--` when running a workspace script (`yarn workspace pkg run command -- arg`). Previously these parameters were being trimmed off and ignored. fixes #7776 * don't ignore a parameter when running 'node' command
…pts (yarnpkg#7786) * fix(workspaces): Passes arguments follwing "--" when running a workspace script Passes arguments follwing `--` when running a workspace script (`yarn workspace pkg run command -- arg`). Previously these parameters were being trimmed off and ignored. fixes yarnpkg#7776 * fix spelling in changelog * fix(workspaces): fix(workspaces): Passes arguments follwing "--" when running a workspace script Passes arguments follwing `--` when running a workspace script (`yarn workspace pkg run command -- arg`). Previously these parameters were being trimmed off and ignored. fixes yarnpkg#7776 * don't ignore a parameter when running 'node' command
…pts (yarnpkg#7786) * fix(workspaces): Passes arguments follwing "--" when running a workspace script Passes arguments follwing `--` when running a workspace script (`yarn workspace pkg run command -- arg`). Previously these parameters were being trimmed off and ignored. fixes yarnpkg#7776 * fix spelling in changelog * fix(workspaces): fix(workspaces): Passes arguments follwing "--" when running a workspace script Passes arguments follwing `--` when running a workspace script (`yarn workspace pkg run command -- arg`). Previously these parameters were being trimmed off and ignored. fixes yarnpkg#7776 * don't ignore a parameter when running 'node' command
When using yarn workspaces with run command, flags are not passes into executed command.
How to reproduce:
package.json file contents.
Current behavior:
Flags are not passed into the running script.
Expected behavior:
Flags should be passed.
Environment
Node: 12.13.1
Yarn: 1.21.1
OS: macOS 10.14.6
The text was updated successfully, but these errors were encountered: