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
Do you want to request a feature or report a bug? Bug.
If the current behavior is a bug, please provide the steps to reproduce.
Create file foo.js:
foo.js
console.log(process.argv)
and package.json:
package.json
{ "name": "untitled5", "version": "1.0.0", "main": "index.js", "license": "MIT", "scripts": { "foo": "node foo.js" } }
What is the expected behavior?
develar-imac:untitled5 develar$ npm run foo -- --hello > [email protected] foo /Users/develar/Documents/untitled5 > node foo.js "--hello" [ '/usr/local/Cellar/node/7.0.0/bin/node', '/Users/develar/Documents/untitled5/foo.js', '--hello' ] develar-imac:untitled5 develar$ yarn run foo -- --hello yarn run v0.17.0-20161109.0548 $ node foo.js [ '/usr/local/Cellar/node/7.0.0/bin/node', '/Users/develar/Documents/untitled5/foo.js' ] ✨ Done in 0.09s.
yarn doesn't pass --hello arg to script.
yarn
--hello
Please mention your node.js, yarn and operating system version.
yarn: 0.17.0-20161109.0548 node: v7.0.0 os: macOS 16.1.0
The text was updated successfully, but these errors were encountered:
Checked — it works in the released 0.1.6.1 and broken in the nightly 0.17
Sorry, something went wrong.
yarn run [script] [-- <args>]
No branches or pull requests
Do you want to request a feature or report a bug?
Bug.
If the current behavior is a bug, please provide the steps to reproduce.
Create file
foo.js
:console.log(process.argv)
and
package.json
:What is the expected behavior?
yarn
doesn't pass--hello
arg to script.Please mention your node.js, yarn and operating system version.
yarn: 0.17.0-20161109.0548
node: v7.0.0
os: macOS 16.1.0
The text was updated successfully, but these errors were encountered: