{"action":"closed","number":123,"pull_request":{"url":"https://api.github.com/repos/bcoe/nyc/pulls/123","id":54901386,"html_url":"https://github.com/bcoe/nyc/pull/123","diff_url":"https://github.com/bcoe/nyc/pull/123.diff","patch_url":"https://github.com/bcoe/nyc/pull/123.patch","issue_url":"https://api.github.com/repos/bcoe/nyc/issues/123","number":123,"state":"closed","locked":false,"title":"Upgrade foreground-child, remove unnecessary arg munging","user":{"login":"isaacs","id":9287,"avatar_url":"https://avatars.githubusercontent.com/u/9287?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacs","html_url":"https://github.com/isaacs","followers_url":"https://api.github.com/users/isaacs/followers","following_url":"https://api.github.com/users/isaacs/following{/other_user}","gists_url":"https://api.github.com/users/isaacs/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacs/subscriptions","organizations_url":"https://api.github.com/users/isaacs/orgs","repos_url":"https://api.github.com/users/isaacs/repos","events_url":"https://api.github.com/users/isaacs/events{/privacy}","received_events_url":"https://api.github.com/users/isaacs/received_events","type":"User","site_admin":false},"body":"Foreground-child is now using cross-spawn-async in order to be able to\r\nproperly spawn shebangs and .cmd/.exe files.  This avoids the extra\r\ncmd.exe that win-spawn throws into the mix, since that causes problems\r\nwhen there is no PATH environ and a binary is being called explicitly\r\nvia a full path name.\r\n\r\nCross-spawn-async is a lot more code than win-spawn, but the approach it\r\ntakes is more surgical and well-tested.\r\n\r\nBecause of this, it's no longer necessary to unshift the node/io.js\r\nbinary onto the argument list when spawning a shebanged javascript file.\r\nSo, doing 'nyc mocha ...' on Windows will now work, and it's no longer\r\nnecessary to do 'nyc ./node_modules/mocha/bin/mocha.js ...' or any other\r\nextra manual path munging.","created_at":"2016-01-02T05:16:32Z","updated_at":"2016-01-02T23:41:32Z","closed_at":"2016-01-02T23:41:32Z","merged_at":null,"merge_commit_sha":"3b4e3da691592e4cd839fcdbf0eb13ea6c990b84","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bcoe/nyc/pulls/123/commits","review_comments_url":"https://api.github.com/repos/bcoe/nyc/pulls/123/comments","review_comment_url":"https://api.github.com/repos/bcoe/nyc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bcoe/nyc/issues/123/comments","statuses_url":"https://api.github.com/repos/bcoe/nyc/statuses/f8485777dc1e4ffdc02af19421cb64a442120f1d","head":{"label":"isaacs:master","ref":"master","sha":"f8485777dc1e4ffdc02af19421cb64a442120f1d","user":{"login":"isaacs","id":9287,"avatar_url":"https://avatars.githubusercontent.com/u/9287?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacs","html_url":"https://github.com/isaacs","followers_url":"https://api.github.com/users/isaacs/followers","following_url":"https://api.github.com/users/isaacs/following{/other_user}","gists_url":"https://api.github.com/users/isaacs/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacs/subscriptions","organizations_url":"https://api.github.com/users/isaacs/orgs","repos_url":"https://api.github.com/users/isaacs/repos","events_url":"https://api.github.com/users/isaacs/events{/privacy}","received_events_url":"https://api.github.com/users/isaacs/received_events","type":"User","site_admin":false},"repo":{"id":35343014,"name":"nyc","full_name":"isaacs/nyc","owner":{"login":"isaacs","id":9287,"avatar_url":"https://avatars.githubusercontent.com/u/9287?v=3","gravatar_id":"","url":"https://api.github.com/users/isaacs","html_url":"https://github.com/isaacs","followers_url":"https://api.github.com/users/isaacs/followers","following_url":"https://api.github.com/users/isaacs/following{/other_user}","gists_url":"https://api.github.com/users/isaacs/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacs/subscriptions","organizations_url":"https://api.github.com/users/isaacs/orgs","repos_url":"https://api.github.com/users/isaacs/repos","events_url":"https://api.github.com/users/isaacs/events{/privacy}","received_events_url":"https://api.github.com/users/isaacs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/isaacs/nyc","description":"forking code-coverage using istanbul.","fork":true,"url":"https://api.github.com/repos/isaacs/nyc","forks_url":"https://api.github.com/repos/isaacs/nyc/forks","keys_url":"https://api.github.com/repos/isaacs/nyc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/isaacs/nyc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/isaacs/nyc/teams","hooks_url":"https://api.github.com/repos/isaacs/nyc/hooks","issue_events_url":"https://api.github.com/repos/isaacs/nyc/issues/events{/number}","events_url":"https://api.github.com/repos/isaacs/nyc/events","assignees_url":"https://api.github.com/repos/isaacs/nyc/assignees{/user}","branches_url":"https://api.github.com/repos/isaacs/nyc/branches{/branch}","tags_url":"https://api.github.com/repos/isaacs/nyc/tags","blobs_url":"https://api.github.com/repos/isaacs/nyc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/isaacs/nyc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/isaacs/nyc/git/refs{/sha}","trees_url":"https://api.github.com/repos/isaacs/nyc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/isaacs/nyc/statuses/{sha}","languages_url":"https://api.github.com/repos/isaacs/nyc/languages","stargazers_url":"https://api.github.com/repos/isaacs/nyc/stargazers","contributors_url":"https://api.github.com/repos/isaacs/nyc/contributors","subscribers_url":"https://api.github.com/repos/isaacs/nyc/subscribers","subscription_url":"https://api.github.com/repos/isaacs/nyc/subscription","commits_url":"https://api.github.com/repos/isaacs/nyc/commits{/sha}","git_commits_url":"https://api.github.com/repos/isaacs/nyc/git/commits{/sha}","comments_url":"https://api.github.com/repos/isaacs/nyc/comments{/number}","issue_comment_url":"https://api.github.com/repos/isaacs/nyc/issues/comments{/number}","contents_url":"https://api.github.com/repos/isaacs/nyc/contents/{+path}","compare_url":"https://api.github.com/repos/isaacs/nyc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/isaacs/nyc/merges","archive_url":"https://api.github.com/repos/isaacs/nyc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/isaacs/nyc/downloads","issues_url":"https://api.github.com/repos/isaacs/nyc/issues{/number}","pulls_url":"https://api.github.com/repos/isaacs/nyc/pulls{/number}","milestones_url":"https://api.github.com/repos/isaacs/nyc/milestones{/number}","notifications_url":"https://api.github.com/repos/isaacs/nyc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/isaacs/nyc/labels{/name}","releases_url":"https://api.github.com/repos/isaacs/nyc/releases{/id}","created_at":"2015-05-09T19:55:46Z","updated_at":"2015-05-09T19:55:47Z","pushed_at":"2016-01-02T08:34:23Z","git_url":"git://github.com/isaacs/nyc.git","ssh_url":"git@github.com:isaacs/nyc.git","clone_url":"https://github.com/isaacs/nyc.git","svn_url":"https://github.com/isaacs/nyc","homepage":"","size":462,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bcoe:master","ref":"master","sha":"706e2ed33a5edab007633f74defd40325bb806d7","user":{"login":"bcoe","id":194609,"avatar_url":"https://avatars.githubusercontent.com/u/194609?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoe","html_url":"https://github.com/bcoe","followers_url":"https://api.github.com/users/bcoe/followers","following_url":"https://api.github.com/users/bcoe/following{/other_user}","gists_url":"https://api.github.com/users/bcoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoe/subscriptions","organizations_url":"https://api.github.com/users/bcoe/orgs","repos_url":"https://api.github.com/users/bcoe/repos","events_url":"https://api.github.com/users/bcoe/events{/privacy}","received_events_url":"https://api.github.com/users/bcoe/received_events","type":"User","site_admin":false},"repo":{"id":35312458,"name":"nyc","full_name":"bcoe/nyc","owner":{"login":"bcoe","id":194609,"avatar_url":"https://avatars.githubusercontent.com/u/194609?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoe","html_url":"https://github.com/bcoe","followers_url":"https://api.github.com/users/bcoe/followers","following_url":"https://api.github.com/users/bcoe/following{/other_user}","gists_url":"https://api.github.com/users/bcoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoe/subscriptions","organizations_url":"https://api.github.com/users/bcoe/orgs","repos_url":"https://api.github.com/users/bcoe/repos","events_url":"https://api.github.com/users/bcoe/events{/privacy}","received_events_url":"https://api.github.com/users/bcoe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bcoe/nyc","description":"a code coverage tool that works well with subprocesses.","fork":false,"url":"https://api.github.com/repos/bcoe/nyc","forks_url":"https://api.github.com/repos/bcoe/nyc/forks","keys_url":"https://api.github.com/repos/bcoe/nyc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcoe/nyc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcoe/nyc/teams","hooks_url":"https://api.github.com/repos/bcoe/nyc/hooks","issue_events_url":"https://api.github.com/repos/bcoe/nyc/issues/events{/number}","events_url":"https://api.github.com/repos/bcoe/nyc/events","assignees_url":"https://api.github.com/repos/bcoe/nyc/assignees{/user}","branches_url":"https://api.github.com/repos/bcoe/nyc/branches{/branch}","tags_url":"https://api.github.com/repos/bcoe/nyc/tags","blobs_url":"https://api.github.com/repos/bcoe/nyc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcoe/nyc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcoe/nyc/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcoe/nyc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcoe/nyc/statuses/{sha}","languages_url":"https://api.github.com/repos/bcoe/nyc/languages","stargazers_url":"https://api.github.com/repos/bcoe/nyc/stargazers","contributors_url":"https://api.github.com/repos/bcoe/nyc/contributors","subscribers_url":"https://api.github.com/repos/bcoe/nyc/subscribers","subscription_url":"https://api.github.com/repos/bcoe/nyc/subscription","commits_url":"https://api.github.com/repos/bcoe/nyc/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcoe/nyc/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcoe/nyc/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcoe/nyc/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcoe/nyc/contents/{+path}","compare_url":"https://api.github.com/repos/bcoe/nyc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcoe/nyc/merges","archive_url":"https://api.github.com/repos/bcoe/nyc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcoe/nyc/downloads","issues_url":"https://api.github.com/repos/bcoe/nyc/issues{/number}","pulls_url":"https://api.github.com/repos/bcoe/nyc/pulls{/number}","milestones_url":"https://api.github.com/repos/bcoe/nyc/milestones{/number}","notifications_url":"https://api.github.com/repos/bcoe/nyc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcoe/nyc/labels{/name}","releases_url":"https://api.github.com/repos/bcoe/nyc/releases{/id}","created_at":"2015-05-09T02:55:45Z","updated_at":"2016-01-01T20:19:26Z","pushed_at":"2016-01-02T23:40:16Z","git_url":"git://github.com/bcoe/nyc.git","ssh_url":"git@github.com:bcoe/nyc.git","clone_url":"https://github.com/bcoe/nyc.git","svn_url":"https://github.com/bcoe/nyc","homepage":"","size":520,"stargazers_count":177,"watchers_count":177,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":13,"forks":15,"open_issues":13,"watchers":177,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bcoe/nyc/pulls/123"},"html":{"href":"https://github.com/bcoe/nyc/pull/123"},"issue":{"href":"https://api.github.com/repos/bcoe/nyc/issues/123"},"comments":{"href":"https://api.github.com/repos/bcoe/nyc/issues/123/comments"},"review_comments":{"href":"https://api.github.com/repos/bcoe/nyc/pulls/123/comments"},"review_comment":{"href":"https://api.github.com/repos/bcoe/nyc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bcoe/nyc/pulls/123/commits"},"statuses":{"href":"https://api.github.com/repos/bcoe/nyc/statuses/f8485777dc1e4ffdc02af19421cb64a442120f1d"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":17,"review_comments":0,"commits":3,"additions":11,"deletions":19,"changed_files":5}}