{"action":"created","issue":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/1749","repository_url":"https://api.github.com/repos/yarnpkg/yarn","labels_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1749/labels{/name}","comments_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1749/comments","events_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1749/events","html_url":"https://github.com/yarnpkg/yarn/issues/1749","id":188185517,"number":1749,"title":"yarn run [script] [-- <args>] is broken","user":{"login":"develar","id":350686,"avatar_url":"https://avatars.githubusercontent.com/u/350686?v=3","gravatar_id":"","url":"https://api.github.com/users/develar","html_url":"https://github.com/develar","followers_url":"https://api.github.com/users/develar/followers","following_url":"https://api.github.com/users/develar/following{/other_user}","gists_url":"https://api.github.com/users/develar/gists{/gist_id}","starred_url":"https://api.github.com/users/develar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/develar/subscriptions","organizations_url":"https://api.github.com/users/develar/orgs","repos_url":"https://api.github.com/users/develar/repos","events_url":"https://api.github.com/users/develar/events{/privacy}","received_events_url":"https://api.github.com/users/develar/received_events","type":"User","site_admin":false},"labels":[{"id":461730541,"url":"https://api.github.com/repos/yarnpkg/yarn/labels/needs%20triage","name":"needs triage","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-09T07:53:19Z","updated_at":"2016-11-11T14:58:26Z","closed_at":null,"body":"<!-- *Before creating an issue please make sure you are using the latest version of yarn.* -->\r\n\r\n**Do you want to request a *feature* or report a *bug*?**\r\nBug.\r\n\r\n**If the current behavior is a bug, please provide the steps to reproduce.**\r\n\r\nCreate file `foo.js`: \r\n\r\n`console.log(process.argv)`\r\n\r\nand `package.json`:\r\n\r\n```\r\n{\r\n  \"name\": \"untitled5\",\r\n  \"version\": \"1.0.0\",\r\n  \"main\": \"index.js\",\r\n  \"license\": \"MIT\",\r\n  \"scripts\": {\r\n    \"foo\": \"node foo.js\"\r\n  }\r\n}\r\n```\r\n\r\n**What is the expected behavior?**\r\n\r\n```sh\r\ndevelar-imac:untitled5 develar$ npm run foo -- --hello\r\n\r\n> untitled5@1.0.0 foo /Users/develar/Documents/untitled5\r\n> node foo.js \"--hello\"\r\n\r\n[ '/usr/local/Cellar/node/7.0.0/bin/node',\r\n  '/Users/develar/Documents/untitled5/foo.js',\r\n  '--hello' ]\r\ndevelar-imac:untitled5 develar$ yarn run foo -- --hello\r\nyarn run v0.17.0-20161109.0548\r\n$ node foo.js\r\n[ '/usr/local/Cellar/node/7.0.0/bin/node',\r\n  '/Users/develar/Documents/untitled5/foo.js' ]\r\n✨  Done in 0.09s.\r\n```\r\n\r\n`yarn` doesn't pass  `--hello` arg  to script.\r\n\r\n**Please mention your node.js, yarn and operating system version.**\r\n\r\nyarn: 0.17.0-20161109.0548\r\nnode: v7.0.0\r\nos: macOS 16.1.0\r\n"},"comment":{"url":"https://api.github.com/repos/yarnpkg/yarn/issues/comments/259974727","html_url":"https://github.com/yarnpkg/yarn/issues/1749#issuecomment-259974727","issue_url":"https://api.github.com/repos/yarnpkg/yarn/issues/1749","id":259974727,"user":{"login":"develar","id":350686,"avatar_url":"https://avatars.githubusercontent.com/u/350686?v=3","gravatar_id":"","url":"https://api.github.com/users/develar","html_url":"https://github.com/develar","followers_url":"https://api.github.com/users/develar/followers","following_url":"https://api.github.com/users/develar/following{/other_user}","gists_url":"https://api.github.com/users/develar/gists{/gist_id}","starred_url":"https://api.github.com/users/develar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/develar/subscriptions","organizations_url":"https://api.github.com/users/develar/orgs","repos_url":"https://api.github.com/users/develar/repos","events_url":"https://api.github.com/users/develar/events{/privacy}","received_events_url":"https://api.github.com/users/develar/received_events","type":"User","site_admin":false},"created_at":"2016-11-11T14:58:26Z","updated_at":"2016-11-11T14:58:26Z","body":"Checked — it works in the released 0.1.6.1 and broken in the nightly 0.17"}}
{"actor":{"display_login":"develar"}}