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
What package manager are you using / does the bug impact?
Yarn v2/v3 (node_modules linker only)
What operating system are you using?
Mac
Describe the Bug
Turbo is sending arg -- (ignore-option) as first argument to script...
this will break a library that are aware of this option, as it will ignore all args after --. (like yargs)
So for a command turbo build test -- --my-script-arg=test:
the script will receive in its ${@} 2 args, -- and --my-script-arg=test.
Expected Behavior
Turbo should forward all args after --, but not including -- as first arg.
To Reproduce
Create a script that echoe ${@}
then call the script with Turbo, along with some script args like turbo my-script -- --my-arg=test
the script will echo -- --my-arg=test and not --my-arg=test