{"action":"created","comment":{"url":"https://api.github.com/repos/yeoman/generator-node/pulls/comments/37948593","id":37948593,"diff_hunk":"@@ -95,6 +97,34 @@ module.exports = generators.Base.extend({\n       }.bind(this));\n     },\n \n+    askForGithubAccount: function () {\n+      var done = this.async();\n+\n+      githubUsername(this.user.git.email(), function (err, username) {\n+        if (err) {\n+          this.log.error(err);","path":"generators/app/index.js","position":18,"original_position":18,"commit_id":"c591725fdbe67440fa65bffdc8dd781d5745c9db","original_commit_id":"c591725fdbe67440fa65bffdc8dd781d5745c9db","user":{"login":"SBoudrias","id":923865,"avatar_url":"https://avatars.githubusercontent.com/u/923865?v=3","gravatar_id":"","url":"https://api.github.com/users/SBoudrias","html_url":"https://github.com/SBoudrias","followers_url":"https://api.github.com/users/SBoudrias/followers","following_url":"https://api.github.com/users/SBoudrias/following{/other_user}","gists_url":"https://api.github.com/users/SBoudrias/gists{/gist_id}","starred_url":"https://api.github.com/users/SBoudrias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SBoudrias/subscriptions","organizations_url":"https://api.github.com/users/SBoudrias/orgs","repos_url":"https://api.github.com/users/SBoudrias/repos","events_url":"https://api.github.com/users/SBoudrias/events{/privacy}","received_events_url":"https://api.github.com/users/SBoudrias/received_events","type":"User","site_admin":false},"body":"if we have an error we want to raise an exception and exit the process. Unless we have a way of handling it.\r\n\r\nRight now this is wrong as the code will continue to execute.","created_at":"2015-08-26T05:58:58Z","updated_at":"2015-08-26T05:58:58Z","html_url":"https://github.com/yeoman/generator-node/pull/159#discussion_r37948593","pull_request_url":"https://api.github.com/repos/yeoman/generator-node/pulls/159","_links":{"self":{"href":"https://api.github.com/repos/yeoman/generator-node/pulls/comments/37948593"},"html":{"href":"https://github.com/yeoman/generator-node/pull/159#discussion_r37948593"},"pull_request":{"href":"https://api.github.com/repos/yeoman/generator-node/pulls/159"}}},"pull_request":{"url":"https://api.github.com/repos/yeoman/generator-node/pulls/159","id":41248897,"html_url":"https://github.com/yeoman/generator-node/pull/159","diff_url":"https://github.com/yeoman/generator-node/pull/159.diff","patch_url":"https://github.com/yeoman/generator-node/pull/159.patch","issue_url":"https://api.github.com/repos/yeoman/generator-node/issues/159","number":159,"state":"open","locked":false,"title":"Feat git info","user":{"login":"zckrs","id":3020368,"avatar_url":"https://avatars.githubusercontent.com/u/3020368?v=3","gravatar_id":"","url":"https://api.github.com/users/zckrs","html_url":"https://github.com/zckrs","followers_url":"https://api.github.com/users/zckrs/followers","following_url":"https://api.github.com/users/zckrs/following{/other_user}","gists_url":"https://api.github.com/users/zckrs/gists{/gist_id}","starred_url":"https://api.github.com/users/zckrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zckrs/subscriptions","organizations_url":"https://api.github.com/users/zckrs/orgs","repos_url":"https://api.github.com/users/zckrs/repos","events_url":"https://api.github.com/users/zckrs/events{/privacy}","received_events_url":"https://api.github.com/users/zckrs/received_events","type":"User","site_admin":false},"body":"fix #13 ","created_at":"2015-07-30T15:41:45Z","updated_at":"2015-08-26T05:58:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3020cdc29832558c4fd77a23373e67cc94e569a2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yeoman/generator-node/pulls/159/commits","review_comments_url":"https://api.github.com/repos/yeoman/generator-node/pulls/159/comments","review_comment_url":"https://api.github.com/repos/yeoman/generator-node/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yeoman/generator-node/issues/159/comments","statuses_url":"https://api.github.com/repos/yeoman/generator-node/statuses/c591725fdbe67440fa65bffdc8dd781d5745c9db","head":{"label":"zckrs:feat-git-info","ref":"feat-git-info","sha":"c591725fdbe67440fa65bffdc8dd781d5745c9db","user":{"login":"zckrs","id":3020368,"avatar_url":"https://avatars.githubusercontent.com/u/3020368?v=3","gravatar_id":"","url":"https://api.github.com/users/zckrs","html_url":"https://github.com/zckrs","followers_url":"https://api.github.com/users/zckrs/followers","following_url":"https://api.github.com/users/zckrs/following{/other_user}","gists_url":"https://api.github.com/users/zckrs/gists{/gist_id}","starred_url":"https://api.github.com/users/zckrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zckrs/subscriptions","organizations_url":"https://api.github.com/users/zckrs/orgs","repos_url":"https://api.github.com/users/zckrs/repos","events_url":"https://api.github.com/users/zckrs/events{/privacy}","received_events_url":"https://api.github.com/users/zckrs/received_events","type":"User","site_admin":false},"repo":{"id":39493027,"name":"generator-node","full_name":"zckrs/generator-node","owner":{"login":"zckrs","id":3020368,"avatar_url":"https://avatars.githubusercontent.com/u/3020368?v=3","gravatar_id":"","url":"https://api.github.com/users/zckrs","html_url":"https://github.com/zckrs","followers_url":"https://api.github.com/users/zckrs/followers","following_url":"https://api.github.com/users/zckrs/following{/other_user}","gists_url":"https://api.github.com/users/zckrs/gists{/gist_id}","starred_url":"https://api.github.com/users/zckrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zckrs/subscriptions","organizations_url":"https://api.github.com/users/zckrs/orgs","repos_url":"https://api.github.com/users/zckrs/repos","events_url":"https://api.github.com/users/zckrs/events{/privacy}","received_events_url":"https://api.github.com/users/zckrs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zckrs/generator-node","description":"Create a Node.js module","fork":true,"url":"https://api.github.com/repos/zckrs/generator-node","forks_url":"https://api.github.com/repos/zckrs/generator-node/forks","keys_url":"https://api.github.com/repos/zckrs/generator-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zckrs/generator-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zckrs/generator-node/teams","hooks_url":"https://api.github.com/repos/zckrs/generator-node/hooks","issue_events_url":"https://api.github.com/repos/zckrs/generator-node/issues/events{/number}","events_url":"https://api.github.com/repos/zckrs/generator-node/events","assignees_url":"https://api.github.com/repos/zckrs/generator-node/assignees{/user}","branches_url":"https://api.github.com/repos/zckrs/generator-node/branches{/branch}","tags_url":"https://api.github.com/repos/zckrs/generator-node/tags","blobs_url":"https://api.github.com/repos/zckrs/generator-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zckrs/generator-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zckrs/generator-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/zckrs/generator-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zckrs/generator-node/statuses/{sha}","languages_url":"https://api.github.com/repos/zckrs/generator-node/languages","stargazers_url":"https://api.github.com/repos/zckrs/generator-node/stargazers","contributors_url":"https://api.github.com/repos/zckrs/generator-node/contributors","subscribers_url":"https://api.github.com/repos/zckrs/generator-node/subscribers","subscription_url":"https://api.github.com/repos/zckrs/generator-node/subscription","commits_url":"https://api.github.com/repos/zckrs/generator-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/zckrs/generator-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/zckrs/generator-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/zckrs/generator-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/zckrs/generator-node/contents/{+path}","compare_url":"https://api.github.com/repos/zckrs/generator-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zckrs/generator-node/merges","archive_url":"https://api.github.com/repos/zckrs/generator-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zckrs/generator-node/downloads","issues_url":"https://api.github.com/repos/zckrs/generator-node/issues{/number}","pulls_url":"https://api.github.com/repos/zckrs/generator-node/pulls{/number}","milestones_url":"https://api.github.com/repos/zckrs/generator-node/milestones{/number}","notifications_url":"https://api.github.com/repos/zckrs/generator-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zckrs/generator-node/labels{/name}","releases_url":"https://api.github.com/repos/zckrs/generator-node/releases{/id}","created_at":"2015-07-22T07:50:21Z","updated_at":"2015-07-22T07:50:21Z","pushed_at":"2015-08-25T09:01:25Z","git_url":"git://github.com/zckrs/generator-node.git","ssh_url":"git@github.com:zckrs/generator-node.git","clone_url":"https://github.com/zckrs/generator-node.git","svn_url":"https://github.com/zckrs/generator-node","homepage":"http://yeoman.io","size":341,"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":"59effee8b5d0c9170b5fea8de9534eebe6d78421","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":10081651,"name":"generator-node","full_name":"yeoman/generator-node","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/generator-node","description":"Create a Node.js module","fork":false,"url":"https://api.github.com/repos/yeoman/generator-node","forks_url":"https://api.github.com/repos/yeoman/generator-node/forks","keys_url":"https://api.github.com/repos/yeoman/generator-node/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yeoman/generator-node/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yeoman/generator-node/teams","hooks_url":"https://api.github.com/repos/yeoman/generator-node/hooks","issue_events_url":"https://api.github.com/repos/yeoman/generator-node/issues/events{/number}","events_url":"https://api.github.com/repos/yeoman/generator-node/events","assignees_url":"https://api.github.com/repos/yeoman/generator-node/assignees{/user}","branches_url":"https://api.github.com/repos/yeoman/generator-node/branches{/branch}","tags_url":"https://api.github.com/repos/yeoman/generator-node/tags","blobs_url":"https://api.github.com/repos/yeoman/generator-node/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yeoman/generator-node/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yeoman/generator-node/git/refs{/sha}","trees_url":"https://api.github.com/repos/yeoman/generator-node/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yeoman/generator-node/statuses/{sha}","languages_url":"https://api.github.com/repos/yeoman/generator-node/languages","stargazers_url":"https://api.github.com/repos/yeoman/generator-node/stargazers","contributors_url":"https://api.github.com/repos/yeoman/generator-node/contributors","subscribers_url":"https://api.github.com/repos/yeoman/generator-node/subscribers","subscription_url":"https://api.github.com/repos/yeoman/generator-node/subscription","commits_url":"https://api.github.com/repos/yeoman/generator-node/commits{/sha}","git_commits_url":"https://api.github.com/repos/yeoman/generator-node/git/commits{/sha}","comments_url":"https://api.github.com/repos/yeoman/generator-node/comments{/number}","issue_comment_url":"https://api.github.com/repos/yeoman/generator-node/issues/comments{/number}","contents_url":"https://api.github.com/repos/yeoman/generator-node/contents/{+path}","compare_url":"https://api.github.com/repos/yeoman/generator-node/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yeoman/generator-node/merges","archive_url":"https://api.github.com/repos/yeoman/generator-node/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yeoman/generator-node/downloads","issues_url":"https://api.github.com/repos/yeoman/generator-node/issues{/number}","pulls_url":"https://api.github.com/repos/yeoman/generator-node/pulls{/number}","milestones_url":"https://api.github.com/repos/yeoman/generator-node/milestones{/number}","notifications_url":"https://api.github.com/repos/yeoman/generator-node/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yeoman/generator-node/labels{/name}","releases_url":"https://api.github.com/repos/yeoman/generator-node/releases{/id}","created_at":"2013-05-15T15:15:10Z","updated_at":"2015-08-25T15:31:17Z","pushed_at":"2015-08-25T09:01:25Z","git_url":"git://github.com/yeoman/generator-node.git","ssh_url":"git@github.com:yeoman/generator-node.git","clone_url":"https://github.com/yeoman/generator-node.git","svn_url":"https://github.com/yeoman/generator-node","homepage":"http://yeoman.io","size":1198,"stargazers_count":211,"watchers_count":211,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":9,"forks":75,"open_issues":9,"watchers":211,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yeoman/generator-node/pulls/159"},"html":{"href":"https://github.com/yeoman/generator-node/pull/159"},"issue":{"href":"https://api.github.com/repos/yeoman/generator-node/issues/159"},"comments":{"href":"https://api.github.com/repos/yeoman/generator-node/issues/159/comments"},"review_comments":{"href":"https://api.github.com/repos/yeoman/generator-node/pulls/159/comments"},"review_comment":{"href":"https://api.github.com/repos/yeoman/generator-node/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yeoman/generator-node/pulls/159/commits"},"statuses":{"href":"https://api.github.com/repos/yeoman/generator-node/statuses/c591725fdbe67440fa65bffdc8dd781d5745c9db"}}}}