{"action":"created","comment":{"url":"https://api.github.com/repos/yeoman/update-notifier/pulls/comments/67546802","id":67546802,"diff_hunk":"@@ -120,7 +120,7 @@ UpdateNotifier.prototype.notify = function (opts) {\n \n \tvar message = '\\n' + boxen(opts.message, opts.boxenOpts);\n \n-\tif (opts.defer === undefined) {\n+\tif (!!opts.defer || opts.defer === undefined) {","path":"index.js","position":5,"original_position":5,"commit_id":"c57d680093054bdfbcf9a196aff6b83f9f875381","original_commit_id":"c57d680093054bdfbcf9a196aff6b83f9f875381","user":{"login":"sindresorhus","id":170270,"avatar_url":"https://avatars.githubusercontent.com/u/170270?v=3","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},"body":"Should rather just be:\r\n\r\n```js\r\nif (opts.defer !== false) {\r\n```","created_at":"2016-06-17T17:31:55Z","updated_at":"2016-06-17T17:31:55Z","html_url":"https://github.com/yeoman/update-notifier/pull/90#discussion_r67546802","pull_request_url":"https://api.github.com/repos/yeoman/update-notifier/pulls/90","_links":{"self":{"href":"https://api.github.com/repos/yeoman/update-notifier/pulls/comments/67546802"},"html":{"href":"https://github.com/yeoman/update-notifier/pull/90#discussion_r67546802"},"pull_request":{"href":"https://api.github.com/repos/yeoman/update-notifier/pulls/90"}}},"pull_request":{"url":"https://api.github.com/repos/yeoman/update-notifier/pulls/90","id":74273290,"html_url":"https://github.com/yeoman/update-notifier/pull/90","diff_url":"https://github.com/yeoman/update-notifier/pull/90.diff","patch_url":"https://github.com/yeoman/update-notifier/pull/90.patch","issue_url":"https://api.github.com/repos/yeoman/update-notifier/issues/90","number":90,"state":"open","locked":false,"title":"fix opts.defer","user":{"login":"rhettl","id":1766765,"avatar_url":"https://avatars.githubusercontent.com/u/1766765?v=3","gravatar_id":"","url":"https://api.github.com/users/rhettl","html_url":"https://github.com/rhettl","followers_url":"https://api.github.com/users/rhettl/followers","following_url":"https://api.github.com/users/rhettl/following{/other_user}","gists_url":"https://api.github.com/users/rhettl/gists{/gist_id}","starred_url":"https://api.github.com/users/rhettl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhettl/subscriptions","organizations_url":"https://api.github.com/users/rhettl/orgs","repos_url":"https://api.github.com/users/rhettl/repos","events_url":"https://api.github.com/users/rhettl/events{/privacy}","received_events_url":"https://api.github.com/users/rhettl/received_events","type":"User","site_admin":false},"body":"`opts.defer` would only defer on `undefined`, but docs state it defaults to true, where true doesn't actually defer.","created_at":"2016-06-17T16:56:25Z","updated_at":"2016-06-17T17:31:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6bb60ed2616dbb3b4a216746fd000eb957280263","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yeoman/update-notifier/pulls/90/commits","review_comments_url":"https://api.github.com/repos/yeoman/update-notifier/pulls/90/comments","review_comment_url":"https://api.github.com/repos/yeoman/update-notifier/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yeoman/update-notifier/issues/90/comments","statuses_url":"https://api.github.com/repos/yeoman/update-notifier/statuses/c57d680093054bdfbcf9a196aff6b83f9f875381","head":{"label":"rhettl:master","ref":"master","sha":"c57d680093054bdfbcf9a196aff6b83f9f875381","user":{"login":"rhettl","id":1766765,"avatar_url":"https://avatars.githubusercontent.com/u/1766765?v=3","gravatar_id":"","url":"https://api.github.com/users/rhettl","html_url":"https://github.com/rhettl","followers_url":"https://api.github.com/users/rhettl/followers","following_url":"https://api.github.com/users/rhettl/following{/other_user}","gists_url":"https://api.github.com/users/rhettl/gists{/gist_id}","starred_url":"https://api.github.com/users/rhettl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhettl/subscriptions","organizations_url":"https://api.github.com/users/rhettl/orgs","repos_url":"https://api.github.com/users/rhettl/repos","events_url":"https://api.github.com/users/rhettl/events{/privacy}","received_events_url":"https://api.github.com/users/rhettl/received_events","type":"User","site_admin":false},"repo":{"id":61388736,"name":"update-notifier","full_name":"rhettl/update-notifier","owner":{"login":"rhettl","id":1766765,"avatar_url":"https://avatars.githubusercontent.com/u/1766765?v=3","gravatar_id":"","url":"https://api.github.com/users/rhettl","html_url":"https://github.com/rhettl","followers_url":"https://api.github.com/users/rhettl/followers","following_url":"https://api.github.com/users/rhettl/following{/other_user}","gists_url":"https://api.github.com/users/rhettl/gists{/gist_id}","starred_url":"https://api.github.com/users/rhettl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhettl/subscriptions","organizations_url":"https://api.github.com/users/rhettl/orgs","repos_url":"https://api.github.com/users/rhettl/repos","events_url":"https://api.github.com/users/rhettl/events{/privacy}","received_events_url":"https://api.github.com/users/rhettl/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rhettl/update-notifier","description":"Update notifications for your CLI app","fork":true,"url":"https://api.github.com/repos/rhettl/update-notifier","forks_url":"https://api.github.com/repos/rhettl/update-notifier/forks","keys_url":"https://api.github.com/repos/rhettl/update-notifier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rhettl/update-notifier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rhettl/update-notifier/teams","hooks_url":"https://api.github.com/repos/rhettl/update-notifier/hooks","issue_events_url":"https://api.github.com/repos/rhettl/update-notifier/issues/events{/number}","events_url":"https://api.github.com/repos/rhettl/update-notifier/events","assignees_url":"https://api.github.com/repos/rhettl/update-notifier/assignees{/user}","branches_url":"https://api.github.com/repos/rhettl/update-notifier/branches{/branch}","tags_url":"https://api.github.com/repos/rhettl/update-notifier/tags","blobs_url":"https://api.github.com/repos/rhettl/update-notifier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rhettl/update-notifier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rhettl/update-notifier/git/refs{/sha}","trees_url":"https://api.github.com/repos/rhettl/update-notifier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rhettl/update-notifier/statuses/{sha}","languages_url":"https://api.github.com/repos/rhettl/update-notifier/languages","stargazers_url":"https://api.github.com/repos/rhettl/update-notifier/stargazers","contributors_url":"https://api.github.com/repos/rhettl/update-notifier/contributors","subscribers_url":"https://api.github.com/repos/rhettl/update-notifier/subscribers","subscription_url":"https://api.github.com/repos/rhettl/update-notifier/subscription","commits_url":"https://api.github.com/repos/rhettl/update-notifier/commits{/sha}","git_commits_url":"https://api.github.com/repos/rhettl/update-notifier/git/commits{/sha}","comments_url":"https://api.github.com/repos/rhettl/update-notifier/comments{/number}","issue_comment_url":"https://api.github.com/repos/rhettl/update-notifier/issues/comments{/number}","contents_url":"https://api.github.com/repos/rhettl/update-notifier/contents/{+path}","compare_url":"https://api.github.com/repos/rhettl/update-notifier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rhettl/update-notifier/merges","archive_url":"https://api.github.com/repos/rhettl/update-notifier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rhettl/update-notifier/downloads","issues_url":"https://api.github.com/repos/rhettl/update-notifier/issues{/number}","pulls_url":"https://api.github.com/repos/rhettl/update-notifier/pulls{/number}","milestones_url":"https://api.github.com/repos/rhettl/update-notifier/milestones{/number}","notifications_url":"https://api.github.com/repos/rhettl/update-notifier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rhettl/update-notifier/labels{/name}","releases_url":"https://api.github.com/repos/rhettl/update-notifier/releases{/id}","deployments_url":"https://api.github.com/repos/rhettl/update-notifier/deployments","created_at":"2016-06-17T16:53:36Z","updated_at":"2016-06-17T16:53:36Z","pushed_at":"2016-06-17T16:55:55Z","git_url":"git://github.com/rhettl/update-notifier.git","ssh_url":"git@github.com:rhettl/update-notifier.git","clone_url":"https://github.com/rhettl/update-notifier.git","svn_url":"https://github.com/rhettl/update-notifier","homepage":"","size":127,"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":"yeoman:master","ref":"master","sha":"58ed26e743c708359bae0e4caaa35925e69363e9","user":{"login":"yeoman","id":1714870,"avatar_url":"https://avatars.githubusercontent.com/u/1714870?v=3","gravatar_id":"","url":"https://api.github.com/users/yeoman","html_url":"https://github.com/yeoman","followers_url":"https://api.github.com/users/yeoman/followers","following_url":"https://api.github.com/users/yeoman/following{/other_user}","gists_url":"https://api.github.com/users/yeoman/gists{/gist_id}","starred_url":"https://api.github.com/users/yeoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeoman/subscriptions","organizations_url":"https://api.github.com/users/yeoman/orgs","repos_url":"https://api.github.com/users/yeoman/repos","events_url":"https://api.github.com/users/yeoman/events{/privacy}","received_events_url":"https://api.github.com/users/yeoman/received_events","type":"Organization","site_admin":false},"repo":{"id":7069389,"name":"update-notifier","full_name":"yeoman/update-notifier","owner":{"login":"yeoman","id":1714870,"avatar_url":"https://avatars.githubusercontent.com/u/1714870?v=3","gravatar_id":"","url":"https://api.github.com/users/yeoman","html_url":"https://github.com/yeoman","followers_url":"https://api.github.com/users/yeoman/followers","following_url":"https://api.github.com/users/yeoman/following{/other_user}","gists_url":"https://api.github.com/users/yeoman/gists{/gist_id}","starred_url":"https://api.github.com/users/yeoman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yeoman/subscriptions","organizations_url":"https://api.github.com/users/yeoman/orgs","repos_url":"https://api.github.com/users/yeoman/repos","events_url":"https://api.github.com/users/yeoman/events{/privacy}","received_events_url":"https://api.github.com/users/yeoman/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yeoman/update-notifier","description":"Update notifications for your CLI app","fork":false,"url":"https://api.github.com/repos/yeoman/update-notifier","forks_url":"https://api.github.com/repos/yeoman/update-notifier/forks","keys_url":"https://api.github.com/repos/yeoman/update-notifier/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yeoman/update-notifier/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yeoman/update-notifier/teams","hooks_url":"https://api.github.com/repos/yeoman/update-notifier/hooks","issue_events_url":"https://api.github.com/repos/yeoman/update-notifier/issues/events{/number}","events_url":"https://api.github.com/repos/yeoman/update-notifier/events","assignees_url":"https://api.github.com/repos/yeoman/update-notifier/assignees{/user}","branches_url":"https://api.github.com/repos/yeoman/update-notifier/branches{/branch}","tags_url":"https://api.github.com/repos/yeoman/update-notifier/tags","blobs_url":"https://api.github.com/repos/yeoman/update-notifier/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yeoman/update-notifier/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yeoman/update-notifier/git/refs{/sha}","trees_url":"https://api.github.com/repos/yeoman/update-notifier/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yeoman/update-notifier/statuses/{sha}","languages_url":"https://api.github.com/repos/yeoman/update-notifier/languages","stargazers_url":"https://api.github.com/repos/yeoman/update-notifier/stargazers","contributors_url":"https://api.github.com/repos/yeoman/update-notifier/contributors","subscribers_url":"https://api.github.com/repos/yeoman/update-notifier/subscribers","subscription_url":"https://api.github.com/repos/yeoman/update-notifier/subscription","commits_url":"https://api.github.com/repos/yeoman/update-notifier/commits{/sha}","git_commits_url":"https://api.github.com/repos/yeoman/update-notifier/git/commits{/sha}","comments_url":"https://api.github.com/repos/yeoman/update-notifier/comments{/number}","issue_comment_url":"https://api.github.com/repos/yeoman/update-notifier/issues/comments{/number}","contents_url":"https://api.github.com/repos/yeoman/update-notifier/contents/{+path}","compare_url":"https://api.github.com/repos/yeoman/update-notifier/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yeoman/update-notifier/merges","archive_url":"https://api.github.com/repos/yeoman/update-notifier/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yeoman/update-notifier/downloads","issues_url":"https://api.github.com/repos/yeoman/update-notifier/issues{/number}","pulls_url":"https://api.github.com/repos/yeoman/update-notifier/pulls{/number}","milestones_url":"https://api.github.com/repos/yeoman/update-notifier/milestones{/number}","notifications_url":"https://api.github.com/repos/yeoman/update-notifier/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yeoman/update-notifier/labels{/name}","releases_url":"https://api.github.com/repos/yeoman/update-notifier/releases{/id}","deployments_url":"https://api.github.com/repos/yeoman/update-notifier/deployments","created_at":"2012-12-08T16:23:20Z","updated_at":"2016-06-17T14:56:25Z","pushed_at":"2016-06-17T16:56:25Z","git_url":"git://github.com/yeoman/update-notifier.git","ssh_url":"git@github.com:yeoman/update-notifier.git","clone_url":"https://github.com/yeoman/update-notifier.git","svn_url":"https://github.com/yeoman/update-notifier","homepage":"","size":150,"stargazers_count":438,"watchers_count":438,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":12,"forks":37,"open_issues":12,"watchers":438,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yeoman/update-notifier/pulls/90"},"html":{"href":"https://github.com/yeoman/update-notifier/pull/90"},"issue":{"href":"https://api.github.com/repos/yeoman/update-notifier/issues/90"},"comments":{"href":"https://api.github.com/repos/yeoman/update-notifier/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/yeoman/update-notifier/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/yeoman/update-notifier/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yeoman/update-notifier/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/yeoman/update-notifier/statuses/c57d680093054bdfbcf9a196aff6b83f9f875381"}}}}
{"actor":{"display_login":"sindresorhus"}}