{"action":"closed","number":6329,"pull_request":{"url":"https://api.github.com/repos/facebook/react-native/pulls/6329","id":61863898,"html_url":"https://github.com/facebook/react-native/pull/6329","diff_url":"https://github.com/facebook/react-native/pull/6329.diff","patch_url":"https://github.com/facebook/react-native/pull/6329.patch","issue_url":"https://api.github.com/repos/facebook/react-native/issues/6329","number":6329,"state":"closed","locked":false,"title":"Fix: cli.js - use var instead of const","user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"body":"Explain the **motivation** for making this change. What existing problem does the pull request solve?\r\n\r\nFixes https://github.com/facebook/react-native/issues/6203\r\n\r\n> SyntaxError: Use of const in strict mode.\r\n\r\n- The rest of the file isn't using es6 anyway and babel-register is run on the file it's included in\r\n\r\n**Test plan (required)**\r\n\r\nShouldn't have issues replacing it since it's used right after one time.\r\n","created_at":"2016-03-07T01:44:10Z","updated_at":"2016-03-07T02:56:46Z","closed_at":"2016-03-07T02:56:46Z","merged_at":null,"merge_commit_sha":"7d2e0c3affb7ff0a99ddc9fad1802680f36b3fd3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/react-native/pulls/6329/commits","review_comments_url":"https://api.github.com/repos/facebook/react-native/pulls/6329/comments","review_comment_url":"https://api.github.com/repos/facebook/react-native/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/6329/comments","statuses_url":"https://api.github.com/repos/facebook/react-native/statuses/9b81713ca8cae04f0793d8d44b268cc9c7f549f3","head":{"label":"hzoo:patch-1","ref":"patch-1","sha":"9b81713ca8cae04f0793d8d44b268cc9c7f549f3","user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"repo":{"id":32965405,"name":"react-native","full_name":"hzoo/react-native","owner":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hzoo/react-native","description":"A framework for building native apps with React.","fork":true,"url":"https://api.github.com/repos/hzoo/react-native","forks_url":"https://api.github.com/repos/hzoo/react-native/forks","keys_url":"https://api.github.com/repos/hzoo/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hzoo/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hzoo/react-native/teams","hooks_url":"https://api.github.com/repos/hzoo/react-native/hooks","issue_events_url":"https://api.github.com/repos/hzoo/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/hzoo/react-native/events","assignees_url":"https://api.github.com/repos/hzoo/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/hzoo/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/hzoo/react-native/tags","blobs_url":"https://api.github.com/repos/hzoo/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hzoo/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hzoo/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/hzoo/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hzoo/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/hzoo/react-native/languages","stargazers_url":"https://api.github.com/repos/hzoo/react-native/stargazers","contributors_url":"https://api.github.com/repos/hzoo/react-native/contributors","subscribers_url":"https://api.github.com/repos/hzoo/react-native/subscribers","subscription_url":"https://api.github.com/repos/hzoo/react-native/subscription","commits_url":"https://api.github.com/repos/hzoo/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/hzoo/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/hzoo/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/hzoo/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/hzoo/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/hzoo/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hzoo/react-native/merges","archive_url":"https://api.github.com/repos/hzoo/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hzoo/react-native/downloads","issues_url":"https://api.github.com/repos/hzoo/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/hzoo/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/hzoo/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/hzoo/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hzoo/react-native/labels{/name}","releases_url":"https://api.github.com/repos/hzoo/react-native/releases{/id}","deployments_url":"https://api.github.com/repos/hzoo/react-native/deployments","created_at":"2015-03-27T03:13:57Z","updated_at":"2015-03-27T03:13:58Z","pushed_at":"2016-03-07T01:42:01Z","git_url":"git://github.com/hzoo/react-native.git","ssh_url":"git@github.com:hzoo/react-native.git","clone_url":"https://github.com/hzoo/react-native.git","svn_url":"https://github.com/hzoo/react-native","homepage":"http://facebook.github.io/react-native/","size":35564,"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":"facebook:master","ref":"master","sha":"d0356fbe9fb97644dfc04cf85535c20c94bcd548","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":29028775,"name":"react-native","full_name":"facebook/react-native","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/react-native","description":"A framework for building native apps with React.","fork":false,"url":"https://api.github.com/repos/facebook/react-native","forks_url":"https://api.github.com/repos/facebook/react-native/forks","keys_url":"https://api.github.com/repos/facebook/react-native/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/react-native/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/react-native/teams","hooks_url":"https://api.github.com/repos/facebook/react-native/hooks","issue_events_url":"https://api.github.com/repos/facebook/react-native/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/react-native/events","assignees_url":"https://api.github.com/repos/facebook/react-native/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/react-native/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/react-native/tags","blobs_url":"https://api.github.com/repos/facebook/react-native/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/react-native/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/react-native/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/react-native/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/react-native/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/react-native/languages","stargazers_url":"https://api.github.com/repos/facebook/react-native/stargazers","contributors_url":"https://api.github.com/repos/facebook/react-native/contributors","subscribers_url":"https://api.github.com/repos/facebook/react-native/subscribers","subscription_url":"https://api.github.com/repos/facebook/react-native/subscription","commits_url":"https://api.github.com/repos/facebook/react-native/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/react-native/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/react-native/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/react-native/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/react-native/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/react-native/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/react-native/merges","archive_url":"https://api.github.com/repos/facebook/react-native/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/react-native/downloads","issues_url":"https://api.github.com/repos/facebook/react-native/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/react-native/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/react-native/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/react-native/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/react-native/labels{/name}","releases_url":"https://api.github.com/repos/facebook/react-native/releases{/id}","deployments_url":"https://api.github.com/repos/facebook/react-native/deployments","created_at":"2015-01-09T18:10:16Z","updated_at":"2016-03-07T02:35:18Z","pushed_at":"2016-03-07T02:56:30Z","git_url":"git://github.com/facebook/react-native.git","ssh_url":"git@github.com:facebook/react-native.git","clone_url":"https://github.com/facebook/react-native.git","svn_url":"https://github.com/facebook/react-native","homepage":"http://facebook.github.io/react-native/","size":82237,"stargazers_count":28230,"watchers_count":28230,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5274,"mirror_url":null,"open_issues_count":1176,"forks":5274,"open_issues":1176,"watchers":28230,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/react-native/pulls/6329"},"html":{"href":"https://github.com/facebook/react-native/pull/6329"},"issue":{"href":"https://api.github.com/repos/facebook/react-native/issues/6329"},"comments":{"href":"https://api.github.com/repos/facebook/react-native/issues/6329/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/react-native/pulls/6329/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/react-native/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/react-native/pulls/6329/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/react-native/statuses/9b81713ca8cae04f0793d8d44b268cc9c7f549f3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}