{"action":"closed","number":329,"pull_request":{"url":"https://api.github.com/repos/sindresorhus/execa/pulls/329","id":292031280,"node_id":"MDExOlB1bGxSZXF1ZXN0MjkyMDMxMjgw","html_url":"https://github.com/sindresorhus/execa/pull/329","diff_url":"https://github.com/sindresorhus/execa/pull/329.diff","patch_url":"https://github.com/sindresorhus/execa/pull/329.patch","issue_url":"https://api.github.com/repos/sindresorhus/execa/issues/329","number":329,"state":"closed","locked":false,"title":"Separate command-related logic into its own file","user":{"login":"ehmicky","id":8136211,"node_id":"MDQ6VXNlcjgxMzYyMTE=","avatar_url":"https://avatars2.githubusercontent.com/u/8136211?v=4","gravatar_id":"","url":"https://api.github.com/users/ehmicky","html_url":"https://github.com/ehmicky","followers_url":"https://api.github.com/users/ehmicky/followers","following_url":"https://api.github.com/users/ehmicky/following{/other_user}","gists_url":"https://api.github.com/users/ehmicky/gists{/gist_id}","starred_url":"https://api.github.com/users/ehmicky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehmicky/subscriptions","organizations_url":"https://api.github.com/users/ehmicky/orgs","repos_url":"https://api.github.com/users/ehmicky/repos","events_url":"https://api.github.com/users/ehmicky/events{/privacy}","received_events_url":"https://api.github.com/users/ehmicky/received_events","type":"User","site_admin":false},"body":"This separates all command-related logic into their own file: `execa.command()` parsing, `result.command`, `error.command`. No behavior is changed, lines of code are just moved around.\r\n\r\nThe related tests are also separated into their own file.","created_at":"2019-06-26T14:58:45Z","updated_at":"2019-06-26T19:39:42Z","closed_at":"2019-06-26T19:39:42Z","merged_at":"2019-06-26T19:39:42Z","merge_commit_sha":"46daa7b1b6e66b215d8d8fb43bdd29836a0de46a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/sindresorhus/execa/pulls/329/commits","review_comments_url":"https://api.github.com/repos/sindresorhus/execa/pulls/329/comments","review_comment_url":"https://api.github.com/repos/sindresorhus/execa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sindresorhus/execa/issues/329/comments","statuses_url":"https://api.github.com/repos/sindresorhus/execa/statuses/de971bff08263a73dd71ee5b81b236c4ab444bf3","head":{"label":"sindresorhus:chore/separate-command","ref":"chore/separate-command","sha":"de971bff08263a73dd71ee5b81b236c4ab444bf3","user":{"login":"sindresorhus","id":170270,"node_id":"MDQ6VXNlcjE3MDI3MA==","avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":47475908,"node_id":"MDEwOlJlcG9zaXRvcnk0NzQ3NTkwOA==","name":"execa","full_name":"sindresorhus/execa","private":false,"owner":{"login":"sindresorhus","id":170270,"node_id":"MDQ6VXNlcjE3MDI3MA==","avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sindresorhus/execa","description":"Process execution for humans","fork":false,"url":"https://api.github.com/repos/sindresorhus/execa","forks_url":"https://api.github.com/repos/sindresorhus/execa/forks","keys_url":"https://api.github.com/repos/sindresorhus/execa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/execa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/execa/teams","hooks_url":"https://api.github.com/repos/sindresorhus/execa/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/execa/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/execa/events","assignees_url":"https://api.github.com/repos/sindresorhus/execa/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/execa/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/execa/tags","blobs_url":"https://api.github.com/repos/sindresorhus/execa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/execa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/execa/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/execa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/execa/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/execa/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/execa/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/execa/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/execa/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/execa/subscription","commits_url":"https://api.github.com/repos/sindresorhus/execa/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/execa/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/execa/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/execa/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/execa/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/execa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/execa/merges","archive_url":"https://api.github.com/repos/sindresorhus/execa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/execa/downloads","issues_url":"https://api.github.com/repos/sindresorhus/execa/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/execa/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/execa/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/execa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/execa/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/execa/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/execa/deployments","created_at":"2015-12-05T22:57:03Z","updated_at":"2019-06-26T19:38:11Z","pushed_at":"2019-06-26T19:39:42Z","git_url":"git://github.com/sindresorhus/execa.git","ssh_url":"git@github.com:sindresorhus/execa.git","clone_url":"https://github.com/sindresorhus/execa.git","svn_url":"https://github.com/sindresorhus/execa","homepage":"","size":346,"stargazers_count":2280,"watchers_count":2280,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":102,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":17,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":102,"open_issues":17,"watchers":2280,"default_branch":"master"}},"base":{"label":"sindresorhus:master","ref":"master","sha":"deb498807c014399d4e09d26f3e4ec367cc7977c","user":{"login":"sindresorhus","id":170270,"node_id":"MDQ6VXNlcjE3MDI3MA==","avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"repo":{"id":47475908,"node_id":"MDEwOlJlcG9zaXRvcnk0NzQ3NTkwOA==","name":"execa","full_name":"sindresorhus/execa","private":false,"owner":{"login":"sindresorhus","id":170270,"node_id":"MDQ6VXNlcjE3MDI3MA==","avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sindresorhus/execa","description":"Process execution for humans","fork":false,"url":"https://api.github.com/repos/sindresorhus/execa","forks_url":"https://api.github.com/repos/sindresorhus/execa/forks","keys_url":"https://api.github.com/repos/sindresorhus/execa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sindresorhus/execa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sindresorhus/execa/teams","hooks_url":"https://api.github.com/repos/sindresorhus/execa/hooks","issue_events_url":"https://api.github.com/repos/sindresorhus/execa/issues/events{/number}","events_url":"https://api.github.com/repos/sindresorhus/execa/events","assignees_url":"https://api.github.com/repos/sindresorhus/execa/assignees{/user}","branches_url":"https://api.github.com/repos/sindresorhus/execa/branches{/branch}","tags_url":"https://api.github.com/repos/sindresorhus/execa/tags","blobs_url":"https://api.github.com/repos/sindresorhus/execa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sindresorhus/execa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sindresorhus/execa/git/refs{/sha}","trees_url":"https://api.github.com/repos/sindresorhus/execa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sindresorhus/execa/statuses/{sha}","languages_url":"https://api.github.com/repos/sindresorhus/execa/languages","stargazers_url":"https://api.github.com/repos/sindresorhus/execa/stargazers","contributors_url":"https://api.github.com/repos/sindresorhus/execa/contributors","subscribers_url":"https://api.github.com/repos/sindresorhus/execa/subscribers","subscription_url":"https://api.github.com/repos/sindresorhus/execa/subscription","commits_url":"https://api.github.com/repos/sindresorhus/execa/commits{/sha}","git_commits_url":"https://api.github.com/repos/sindresorhus/execa/git/commits{/sha}","comments_url":"https://api.github.com/repos/sindresorhus/execa/comments{/number}","issue_comment_url":"https://api.github.com/repos/sindresorhus/execa/issues/comments{/number}","contents_url":"https://api.github.com/repos/sindresorhus/execa/contents/{+path}","compare_url":"https://api.github.com/repos/sindresorhus/execa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sindresorhus/execa/merges","archive_url":"https://api.github.com/repos/sindresorhus/execa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sindresorhus/execa/downloads","issues_url":"https://api.github.com/repos/sindresorhus/execa/issues{/number}","pulls_url":"https://api.github.com/repos/sindresorhus/execa/pulls{/number}","milestones_url":"https://api.github.com/repos/sindresorhus/execa/milestones{/number}","notifications_url":"https://api.github.com/repos/sindresorhus/execa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sindresorhus/execa/labels{/name}","releases_url":"https://api.github.com/repos/sindresorhus/execa/releases{/id}","deployments_url":"https://api.github.com/repos/sindresorhus/execa/deployments","created_at":"2015-12-05T22:57:03Z","updated_at":"2019-06-26T19:38:11Z","pushed_at":"2019-06-26T19:39:42Z","git_url":"git://github.com/sindresorhus/execa.git","ssh_url":"git@github.com:sindresorhus/execa.git","clone_url":"https://github.com/sindresorhus/execa.git","svn_url":"https://github.com/sindresorhus/execa","homepage":"","size":346,"stargazers_count":2280,"watchers_count":2280,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":102,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":17,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":102,"open_issues":17,"watchers":2280,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sindresorhus/execa/pulls/329"},"html":{"href":"https://github.com/sindresorhus/execa/pull/329"},"issue":{"href":"https://api.github.com/repos/sindresorhus/execa/issues/329"},"comments":{"href":"https://api.github.com/repos/sindresorhus/execa/issues/329/comments"},"review_comments":{"href":"https://api.github.com/repos/sindresorhus/execa/pulls/329/comments"},"review_comment":{"href":"https://api.github.com/repos/sindresorhus/execa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sindresorhus/execa/pulls/329/commits"},"statuses":{"href":"https://api.github.com/repos/sindresorhus/execa/statuses/de971bff08263a73dd71ee5b81b236c4ab444bf3"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"sindresorhus","id":170270,"node_id":"MDQ6VXNlcjE3MDI3MA==","avatar_url":"https://avatars1.githubusercontent.com/u/170270?v=4","gravatar_id":"","url":"https://api.github.com/users/sindresorhus","html_url":"https://github.com/sindresorhus","followers_url":"https://api.github.com/users/sindresorhus/followers","following_url":"https://api.github.com/users/sindresorhus/following{/other_user}","gists_url":"https://api.github.com/users/sindresorhus/gists{/gist_id}","starred_url":"https://api.github.com/users/sindresorhus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sindresorhus/subscriptions","organizations_url":"https://api.github.com/users/sindresorhus/orgs","repos_url":"https://api.github.com/users/sindresorhus/repos","events_url":"https://api.github.com/users/sindresorhus/events{/privacy}","received_events_url":"https://api.github.com/users/sindresorhus/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":103,"deletions":91,"changed_files":4}}
{"actor":{"display_login":"sindresorhus"}}