{"action":"created","comment":{"url":"https://api.github.com/repos/avajs/ava/pulls/comments/65485515","id":65485515,"diff_hunk":"@@ -86,7 +86,7 @@ module.exports = function (file, opts) {\n \t\tps.on('results', function (data) {\n \t\t\tresults = data;\n \t\t\tdata.tests = testResults;\n-\t\t\tsend(ps, 'teardown');\n+\t\t\tsend('teardown');","path":"lib/fork.js","position":32,"original_position":32,"commit_id":"c7a7f9294d1e60f7cbec0a702fd8c24141dba336","original_commit_id":"c7a7f9294d1e60f7cbec0a702fd8c24141dba336","user":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"body":"simpler usage in `fork.js`","created_at":"2016-06-02T05:21:59Z","updated_at":"2016-06-02T05:21:59Z","html_url":"https://github.com/avajs/ava/pull/896#discussion_r65485515","pull_request_url":"https://api.github.com/repos/avajs/ava/pulls/896","_links":{"self":{"href":"https://api.github.com/repos/avajs/ava/pulls/comments/65485515"},"html":{"href":"https://github.com/avajs/ava/pull/896#discussion_r65485515"},"pull_request":{"href":"https://api.github.com/repos/avajs/ava/pulls/896"}}},"pull_request":{"url":"https://api.github.com/repos/avajs/ava/pulls/896","id":72278210,"html_url":"https://github.com/avajs/ava/pull/896","diff_url":"https://github.com/avajs/ava/pull/896.diff","patch_url":"https://github.com/avajs/ava/pull/896.patch","issue_url":"https://api.github.com/repos/avajs/ava/issues/896","number":896,"state":"open","locked":false,"title":"simplify send.","user":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"body":"Splits `lib/send` into two pieces:\r\n\r\n- `wrap-send` wraps an IPC implementations. It reformats two arguments (eventName, data) into a single data object, and sends via the supplied send callback.\r\n\r\n- `send-to-parent` wraps `process.send` using the above wrapper function. It also provides the \"must be used via CLI\" message.\r\n\r\n`wrap-send` is only used by `fork.js` and the newly introduced `send-to-parent`.\r\n\r\n`send-to-parent` can be used anywhere in the child process to send data to the parent (currently `index.js`, and `test-worker.js`).\r\n","created_at":"2016-06-02T01:43:28Z","updated_at":"2016-06-02T05:21:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74c1cf2664e700cc09f1bc85a72bd4ef0104d12e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/avajs/ava/pulls/896/commits","review_comments_url":"https://api.github.com/repos/avajs/ava/pulls/896/comments","review_comment_url":"https://api.github.com/repos/avajs/ava/pulls/comments{/number}","comments_url":"https://api.github.com/repos/avajs/ava/issues/896/comments","statuses_url":"https://api.github.com/repos/avajs/ava/statuses/c7a7f9294d1e60f7cbec0a702fd8c24141dba336","head":{"label":"jamestalmage:simplify-ipc","ref":"simplify-ipc","sha":"c7a7f9294d1e60f7cbec0a702fd8c24141dba336","user":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"repo":{"id":45423629,"name":"ava","full_name":"jamestalmage/ava","owner":{"login":"jamestalmage","id":4082216,"avatar_url":"https://avatars.githubusercontent.com/u/4082216?v=3","gravatar_id":"","url":"https://api.github.com/users/jamestalmage","html_url":"https://github.com/jamestalmage","followers_url":"https://api.github.com/users/jamestalmage/followers","following_url":"https://api.github.com/users/jamestalmage/following{/other_user}","gists_url":"https://api.github.com/users/jamestalmage/gists{/gist_id}","starred_url":"https://api.github.com/users/jamestalmage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamestalmage/subscriptions","organizations_url":"https://api.github.com/users/jamestalmage/orgs","repos_url":"https://api.github.com/users/jamestalmage/repos","events_url":"https://api.github.com/users/jamestalmage/events{/privacy}","received_events_url":"https://api.github.com/users/jamestalmage/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamestalmage/ava","description":"Futuristic test runner :rocket:","fork":true,"url":"https://api.github.com/repos/jamestalmage/ava","forks_url":"https://api.github.com/repos/jamestalmage/ava/forks","keys_url":"https://api.github.com/repos/jamestalmage/ava/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamestalmage/ava/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamestalmage/ava/teams","hooks_url":"https://api.github.com/repos/jamestalmage/ava/hooks","issue_events_url":"https://api.github.com/repos/jamestalmage/ava/issues/events{/number}","events_url":"https://api.github.com/repos/jamestalmage/ava/events","assignees_url":"https://api.github.com/repos/jamestalmage/ava/assignees{/user}","branches_url":"https://api.github.com/repos/jamestalmage/ava/branches{/branch}","tags_url":"https://api.github.com/repos/jamestalmage/ava/tags","blobs_url":"https://api.github.com/repos/jamestalmage/ava/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamestalmage/ava/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamestalmage/ava/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamestalmage/ava/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamestalmage/ava/statuses/{sha}","languages_url":"https://api.github.com/repos/jamestalmage/ava/languages","stargazers_url":"https://api.github.com/repos/jamestalmage/ava/stargazers","contributors_url":"https://api.github.com/repos/jamestalmage/ava/contributors","subscribers_url":"https://api.github.com/repos/jamestalmage/ava/subscribers","subscription_url":"https://api.github.com/repos/jamestalmage/ava/subscription","commits_url":"https://api.github.com/repos/jamestalmage/ava/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamestalmage/ava/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamestalmage/ava/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamestalmage/ava/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamestalmage/ava/contents/{+path}","compare_url":"https://api.github.com/repos/jamestalmage/ava/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamestalmage/ava/merges","archive_url":"https://api.github.com/repos/jamestalmage/ava/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamestalmage/ava/downloads","issues_url":"https://api.github.com/repos/jamestalmage/ava/issues{/number}","pulls_url":"https://api.github.com/repos/jamestalmage/ava/pulls{/number}","milestones_url":"https://api.github.com/repos/jamestalmage/ava/milestones{/number}","notifications_url":"https://api.github.com/repos/jamestalmage/ava/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamestalmage/ava/labels{/name}","releases_url":"https://api.github.com/repos/jamestalmage/ava/releases{/id}","deployments_url":"https://api.github.com/repos/jamestalmage/ava/deployments","created_at":"2015-11-02T21:35:12Z","updated_at":"2016-04-06T22:44:42Z","pushed_at":"2016-06-02T01:42:57Z","git_url":"git://github.com/jamestalmage/ava.git","ssh_url":"git@github.com:jamestalmage/ava.git","clone_url":"https://github.com/jamestalmage/ava.git","svn_url":"https://github.com/jamestalmage/ava","homepage":"","size":3951,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"avajs:master","ref":"master","sha":"2e984380c4df2bfe5a0af2ec37a970f4001c9f53","user":{"login":"avajs","id":8527916,"avatar_url":"https://avatars.githubusercontent.com/u/8527916?v=3","gravatar_id":"","url":"https://api.github.com/users/avajs","html_url":"https://github.com/avajs","followers_url":"https://api.github.com/users/avajs/followers","following_url":"https://api.github.com/users/avajs/following{/other_user}","gists_url":"https://api.github.com/users/avajs/gists{/gist_id}","starred_url":"https://api.github.com/users/avajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avajs/subscriptions","organizations_url":"https://api.github.com/users/avajs/orgs","repos_url":"https://api.github.com/users/avajs/repos","events_url":"https://api.github.com/users/avajs/events{/privacy}","received_events_url":"https://api.github.com/users/avajs/received_events","type":"Organization","site_admin":false},"repo":{"id":26820798,"name":"ava","full_name":"avajs/ava","owner":{"login":"avajs","id":8527916,"avatar_url":"https://avatars.githubusercontent.com/u/8527916?v=3","gravatar_id":"","url":"https://api.github.com/users/avajs","html_url":"https://github.com/avajs","followers_url":"https://api.github.com/users/avajs/followers","following_url":"https://api.github.com/users/avajs/following{/other_user}","gists_url":"https://api.github.com/users/avajs/gists{/gist_id}","starred_url":"https://api.github.com/users/avajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avajs/subscriptions","organizations_url":"https://api.github.com/users/avajs/orgs","repos_url":"https://api.github.com/users/avajs/repos","events_url":"https://api.github.com/users/avajs/events{/privacy}","received_events_url":"https://api.github.com/users/avajs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/avajs/ava","description":"Futuristic JavaScript test runner :rocket:","fork":false,"url":"https://api.github.com/repos/avajs/ava","forks_url":"https://api.github.com/repos/avajs/ava/forks","keys_url":"https://api.github.com/repos/avajs/ava/keys{/key_id}","collaborators_url":"https://api.github.com/repos/avajs/ava/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/avajs/ava/teams","hooks_url":"https://api.github.com/repos/avajs/ava/hooks","issue_events_url":"https://api.github.com/repos/avajs/ava/issues/events{/number}","events_url":"https://api.github.com/repos/avajs/ava/events","assignees_url":"https://api.github.com/repos/avajs/ava/assignees{/user}","branches_url":"https://api.github.com/repos/avajs/ava/branches{/branch}","tags_url":"https://api.github.com/repos/avajs/ava/tags","blobs_url":"https://api.github.com/repos/avajs/ava/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/avajs/ava/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/avajs/ava/git/refs{/sha}","trees_url":"https://api.github.com/repos/avajs/ava/git/trees{/sha}","statuses_url":"https://api.github.com/repos/avajs/ava/statuses/{sha}","languages_url":"https://api.github.com/repos/avajs/ava/languages","stargazers_url":"https://api.github.com/repos/avajs/ava/stargazers","contributors_url":"https://api.github.com/repos/avajs/ava/contributors","subscribers_url":"https://api.github.com/repos/avajs/ava/subscribers","subscription_url":"https://api.github.com/repos/avajs/ava/subscription","commits_url":"https://api.github.com/repos/avajs/ava/commits{/sha}","git_commits_url":"https://api.github.com/repos/avajs/ava/git/commits{/sha}","comments_url":"https://api.github.com/repos/avajs/ava/comments{/number}","issue_comment_url":"https://api.github.com/repos/avajs/ava/issues/comments{/number}","contents_url":"https://api.github.com/repos/avajs/ava/contents/{+path}","compare_url":"https://api.github.com/repos/avajs/ava/compare/{base}...{head}","merges_url":"https://api.github.com/repos/avajs/ava/merges","archive_url":"https://api.github.com/repos/avajs/ava/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/avajs/ava/downloads","issues_url":"https://api.github.com/repos/avajs/ava/issues{/number}","pulls_url":"https://api.github.com/repos/avajs/ava/pulls{/number}","milestones_url":"https://api.github.com/repos/avajs/ava/milestones{/number}","notifications_url":"https://api.github.com/repos/avajs/ava/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/avajs/ava/labels{/name}","releases_url":"https://api.github.com/repos/avajs/ava/releases{/id}","deployments_url":"https://api.github.com/repos/avajs/ava/deployments","created_at":"2014-11-18T17:20:26Z","updated_at":"2016-06-02T02:27:54Z","pushed_at":"2016-06-02T01:43:28Z","git_url":"git://github.com/avajs/ava.git","ssh_url":"git@github.com:avajs/ava.git","clone_url":"https://github.com/avajs/ava.git","svn_url":"https://github.com/avajs/ava","homepage":"","size":4828,"stargazers_count":4906,"watchers_count":4906,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":213,"mirror_url":null,"open_issues_count":122,"forks":213,"open_issues":122,"watchers":4906,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/avajs/ava/pulls/896"},"html":{"href":"https://github.com/avajs/ava/pull/896"},"issue":{"href":"https://api.github.com/repos/avajs/ava/issues/896"},"comments":{"href":"https://api.github.com/repos/avajs/ava/issues/896/comments"},"review_comments":{"href":"https://api.github.com/repos/avajs/ava/pulls/896/comments"},"review_comment":{"href":"https://api.github.com/repos/avajs/ava/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/avajs/ava/pulls/896/commits"},"statuses":{"href":"https://api.github.com/repos/avajs/ava/statuses/c7a7f9294d1e60f7cbec0a702fd8c24141dba336"}}}}
{"actor":{"display_login":"jamestalmage"}}