{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/rotemtam/co-jitter-retry/pulls/1","id":82177902,"html_url":"https://github.com/rotemtam/co-jitter-retry/pull/1","diff_url":"https://github.com/rotemtam/co-jitter-retry/pull/1.diff","patch_url":"https://github.com/rotemtam/co-jitter-retry/pull/1.patch","issue_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/issues/1","number":1,"state":"closed","locked":false,"title":"Wrap the arrow function in brackets","user":{"login":"tomtalp","id":1752332,"avatar_url":"https://avatars.githubusercontent.com/u/1752332?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtalp","html_url":"https://github.com/tomtalp","followers_url":"https://api.github.com/users/tomtalp/followers","following_url":"https://api.github.com/users/tomtalp/following{/other_user}","gists_url":"https://api.github.com/users/tomtalp/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtalp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtalp/subscriptions","organizations_url":"https://api.github.com/users/tomtalp/orgs","repos_url":"https://api.github.com/users/tomtalp/repos","events_url":"https://api.github.com/users/tomtalp/events{/privacy}","received_events_url":"https://api.github.com/users/tomtalp/received_events","type":"User","site_admin":false},"body":"When using the || operation and an arrow function in Node 6, the arrow function part has to be wrapped with parenthesis -\r\nhttps://github.com/nodejs/node/issues/6892\r\n\r\nWhen wrapping in parenthesis, the code works in both Node 6 & Node 4","created_at":"2016-08-22T11:54:31Z","updated_at":"2016-08-22T12:03:28Z","closed_at":"2016-08-22T12:03:27Z","merged_at":"2016-08-22T12:03:27Z","merge_commit_sha":"aebbb6005ade1224e4fbaeb3369264bfc6fe98cb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/pulls/1/commits","review_comments_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/pulls/1/comments","review_comment_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/issues/1/comments","statuses_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/statuses/02d7a1e7a02d77394a561c0f5ff14afe980b3b14","head":{"label":"tomtalp:bugfix/fix-should-retry-in-retrier","ref":"bugfix/fix-should-retry-in-retrier","sha":"02d7a1e7a02d77394a561c0f5ff14afe980b3b14","user":{"login":"tomtalp","id":1752332,"avatar_url":"https://avatars.githubusercontent.com/u/1752332?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtalp","html_url":"https://github.com/tomtalp","followers_url":"https://api.github.com/users/tomtalp/followers","following_url":"https://api.github.com/users/tomtalp/following{/other_user}","gists_url":"https://api.github.com/users/tomtalp/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtalp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtalp/subscriptions","organizations_url":"https://api.github.com/users/tomtalp/orgs","repos_url":"https://api.github.com/users/tomtalp/repos","events_url":"https://api.github.com/users/tomtalp/events{/privacy}","received_events_url":"https://api.github.com/users/tomtalp/received_events","type":"User","site_admin":false},"repo":{"id":66215329,"name":"co-jitter-retry","full_name":"tomtalp/co-jitter-retry","owner":{"login":"tomtalp","id":1752332,"avatar_url":"https://avatars.githubusercontent.com/u/1752332?v=3","gravatar_id":"","url":"https://api.github.com/users/tomtalp","html_url":"https://github.com/tomtalp","followers_url":"https://api.github.com/users/tomtalp/followers","following_url":"https://api.github.com/users/tomtalp/following{/other_user}","gists_url":"https://api.github.com/users/tomtalp/gists{/gist_id}","starred_url":"https://api.github.com/users/tomtalp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomtalp/subscriptions","organizations_url":"https://api.github.com/users/tomtalp/orgs","repos_url":"https://api.github.com/users/tomtalp/repos","events_url":"https://api.github.com/users/tomtalp/events{/privacy}","received_events_url":"https://api.github.com/users/tomtalp/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomtalp/co-jitter-retry","description":"Retry generators with full jitter","fork":true,"url":"https://api.github.com/repos/tomtalp/co-jitter-retry","forks_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/forks","keys_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/teams","hooks_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/hooks","issue_events_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/issues/events{/number}","events_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/events","assignees_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/assignees{/user}","branches_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/branches{/branch}","tags_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/tags","blobs_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/statuses/{sha}","languages_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/languages","stargazers_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/stargazers","contributors_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/contributors","subscribers_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/subscribers","subscription_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/subscription","commits_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/contents/{+path}","compare_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/merges","archive_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/downloads","issues_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/issues{/number}","pulls_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/pulls{/number}","milestones_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/milestones{/number}","notifications_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/labels{/name}","releases_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/releases{/id}","deployments_url":"https://api.github.com/repos/tomtalp/co-jitter-retry/deployments","created_at":"2016-08-21T18:56:07Z","updated_at":"2016-08-21T18:56:08Z","pushed_at":"2016-08-22T11:47:00Z","git_url":"git://github.com/tomtalp/co-jitter-retry.git","ssh_url":"git@github.com:tomtalp/co-jitter-retry.git","clone_url":"https://github.com/tomtalp/co-jitter-retry.git","svn_url":"https://github.com/tomtalp/co-jitter-retry","homepage":null,"size":4,"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":"rotemtam:master","ref":"master","sha":"627c6840458b829e66ed2b93e00b2461767e040e","user":{"login":"rotemtam","id":1522681,"avatar_url":"https://avatars.githubusercontent.com/u/1522681?v=3","gravatar_id":"","url":"https://api.github.com/users/rotemtam","html_url":"https://github.com/rotemtam","followers_url":"https://api.github.com/users/rotemtam/followers","following_url":"https://api.github.com/users/rotemtam/following{/other_user}","gists_url":"https://api.github.com/users/rotemtam/gists{/gist_id}","starred_url":"https://api.github.com/users/rotemtam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rotemtam/subscriptions","organizations_url":"https://api.github.com/users/rotemtam/orgs","repos_url":"https://api.github.com/users/rotemtam/repos","events_url":"https://api.github.com/users/rotemtam/events{/privacy}","received_events_url":"https://api.github.com/users/rotemtam/received_events","type":"User","site_admin":false},"repo":{"id":65400820,"name":"co-jitter-retry","full_name":"rotemtam/co-jitter-retry","owner":{"login":"rotemtam","id":1522681,"avatar_url":"https://avatars.githubusercontent.com/u/1522681?v=3","gravatar_id":"","url":"https://api.github.com/users/rotemtam","html_url":"https://github.com/rotemtam","followers_url":"https://api.github.com/users/rotemtam/followers","following_url":"https://api.github.com/users/rotemtam/following{/other_user}","gists_url":"https://api.github.com/users/rotemtam/gists{/gist_id}","starred_url":"https://api.github.com/users/rotemtam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rotemtam/subscriptions","organizations_url":"https://api.github.com/users/rotemtam/orgs","repos_url":"https://api.github.com/users/rotemtam/repos","events_url":"https://api.github.com/users/rotemtam/events{/privacy}","received_events_url":"https://api.github.com/users/rotemtam/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rotemtam/co-jitter-retry","description":"Retry generators with full jitter","fork":false,"url":"https://api.github.com/repos/rotemtam/co-jitter-retry","forks_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/forks","keys_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/teams","hooks_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/hooks","issue_events_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/issues/events{/number}","events_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/events","assignees_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/assignees{/user}","branches_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/branches{/branch}","tags_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/tags","blobs_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/git/refs{/sha}","trees_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/statuses/{sha}","languages_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/languages","stargazers_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/stargazers","contributors_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/contributors","subscribers_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/subscribers","subscription_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/subscription","commits_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/commits{/sha}","git_commits_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/git/commits{/sha}","comments_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/comments{/number}","issue_comment_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/issues/comments{/number}","contents_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/contents/{+path}","compare_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/merges","archive_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/downloads","issues_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/issues{/number}","pulls_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/pulls{/number}","milestones_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/milestones{/number}","notifications_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/labels{/name}","releases_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/releases{/id}","deployments_url":"https://api.github.com/repos/rotemtam/co-jitter-retry/deployments","created_at":"2016-08-10T17:00:57Z","updated_at":"2016-08-21T18:54:28Z","pushed_at":"2016-08-22T12:03:27Z","git_url":"git://github.com/rotemtam/co-jitter-retry.git","ssh_url":"git@github.com:rotemtam/co-jitter-retry.git","clone_url":"https://github.com/rotemtam/co-jitter-retry.git","svn_url":"https://github.com/rotemtam/co-jitter-retry","homepage":null,"size":4,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rotemtam/co-jitter-retry/pulls/1"},"html":{"href":"https://github.com/rotemtam/co-jitter-retry/pull/1"},"issue":{"href":"https://api.github.com/repos/rotemtam/co-jitter-retry/issues/1"},"comments":{"href":"https://api.github.com/repos/rotemtam/co-jitter-retry/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/rotemtam/co-jitter-retry/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/rotemtam/co-jitter-retry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rotemtam/co-jitter-retry/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/rotemtam/co-jitter-retry/statuses/02d7a1e7a02d77394a561c0f5ff14afe980b3b14"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rotemtam","id":1522681,"avatar_url":"https://avatars.githubusercontent.com/u/1522681?v=3","gravatar_id":"","url":"https://api.github.com/users/rotemtam","html_url":"https://github.com/rotemtam","followers_url":"https://api.github.com/users/rotemtam/followers","following_url":"https://api.github.com/users/rotemtam/following{/other_user}","gists_url":"https://api.github.com/users/rotemtam/gists{/gist_id}","starred_url":"https://api.github.com/users/rotemtam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rotemtam/subscriptions","organizations_url":"https://api.github.com/users/rotemtam/orgs","repos_url":"https://api.github.com/users/rotemtam/repos","events_url":"https://api.github.com/users/rotemtam/events{/privacy}","received_events_url":"https://api.github.com/users/rotemtam/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"rotemtam"}}