{"action":"created","comment":{"url":"https://api.github.com/repos/LeanKit-Labs/tag-release/pulls/comments/78369992","id":78369992,"diff_hunk":"@@ -108,18 +109,61 @@ export default {\n \tsetGitConfig( name, value ) {\n \t\treturn this.exec( `${ GIT_CONFIG_COMMAND } ${ name } ${ value.trim() }` );\n \t},\n-\tgetGitConfigs() {\n+\tgetGitConfigs( options ) {\n \t\treturn Promise.all( [\n \t\t\tthis.getGitConfig( \"tag-release.username\" ),\n \t\t\tthis.getGitConfig( \"tag-release.token\" )\n-\t\t] );\n+\t\t] )\n+\t\t\t.then( config => {","path":"src/utils.js","position":19,"original_position":19,"commit_id":"586e12b791943d5c5530d051ce5e6365f7375df3","original_commit_id":"586e12b791943d5c5530d051ce5e6365f7375df3","user":{"login":"elijahmanor","id":86454,"avatar_url":"https://avatars.githubusercontent.com/u/86454?v=3","gravatar_id":"","url":"https://api.github.com/users/elijahmanor","html_url":"https://github.com/elijahmanor","followers_url":"https://api.github.com/users/elijahmanor/followers","following_url":"https://api.github.com/users/elijahmanor/following{/other_user}","gists_url":"https://api.github.com/users/elijahmanor/gists{/gist_id}","starred_url":"https://api.github.com/users/elijahmanor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elijahmanor/subscriptions","organizations_url":"https://api.github.com/users/elijahmanor/orgs","repos_url":"https://api.github.com/users/elijahmanor/repos","events_url":"https://api.github.com/users/elijahmanor/events{/privacy}","received_events_url":"https://api.github.com/users/elijahmanor/received_events","type":"User","site_admin":false},"body":"Another way to code this with ES6 could be...\r\n\r\n```\r\n.then( ( [ username, token ] ) => {\r\n  return Object.assign( options, { username, token } );\r\n} )\r\n```\r\n...it destructures the array into named parts and then creates a new object and overlays that on top of the existing options. ","created_at":"2016-09-12T13:18:56Z","updated_at":"2016-09-12T13:18:56Z","html_url":"https://github.com/LeanKit-Labs/tag-release/pull/34#discussion_r78369992","pull_request_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/LeanKit-Labs/tag-release/pulls/comments/78369992"},"html":{"href":"https://github.com/LeanKit-Labs/tag-release/pull/34#discussion_r78369992"},"pull_request":{"href":"https://api.github.com/repos/LeanKit-Labs/tag-release/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/LeanKit-Labs/tag-release/pulls/34","id":84699886,"html_url":"https://github.com/LeanKit-Labs/tag-release/pull/34","diff_url":"https://github.com/LeanKit-Labs/tag-release/pull/34.diff","patch_url":"https://github.com/LeanKit-Labs/tag-release/pull/34.patch","issue_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/issues/34","number":34,"state":"open","locked":false,"title":"Added preview of git logs to start of tag-release process","user":{"login":"andrialexandrou","id":14981214,"avatar_url":"https://avatars.githubusercontent.com/u/14981214?v=3","gravatar_id":"","url":"https://api.github.com/users/andrialexandrou","html_url":"https://github.com/andrialexandrou","followers_url":"https://api.github.com/users/andrialexandrou/followers","following_url":"https://api.github.com/users/andrialexandrou/following{/other_user}","gists_url":"https://api.github.com/users/andrialexandrou/gists{/gist_id}","starred_url":"https://api.github.com/users/andrialexandrou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrialexandrou/subscriptions","organizations_url":"https://api.github.com/users/andrialexandrou/orgs","repos_url":"https://api.github.com/users/andrialexandrou/repos","events_url":"https://api.github.com/users/andrialexandrou/events{/privacy}","received_events_url":"https://api.github.com/users/andrialexandrou/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-09T18:51:14Z","updated_at":"2016-09-12T13:18:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee5ab46a9c43fb52b682b1bdef7538a1cc1896a3","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/pulls/34/commits","review_comments_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/pulls/34/comments","review_comment_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/issues/34/comments","statuses_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/statuses/586e12b791943d5c5530d051ce5e6365f7375df3","head":{"label":"andrialexandrou:feature-git-log-preview","ref":"feature-git-log-preview","sha":"586e12b791943d5c5530d051ce5e6365f7375df3","user":{"login":"andrialexandrou","id":14981214,"avatar_url":"https://avatars.githubusercontent.com/u/14981214?v=3","gravatar_id":"","url":"https://api.github.com/users/andrialexandrou","html_url":"https://github.com/andrialexandrou","followers_url":"https://api.github.com/users/andrialexandrou/followers","following_url":"https://api.github.com/users/andrialexandrou/following{/other_user}","gists_url":"https://api.github.com/users/andrialexandrou/gists{/gist_id}","starred_url":"https://api.github.com/users/andrialexandrou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrialexandrou/subscriptions","organizations_url":"https://api.github.com/users/andrialexandrou/orgs","repos_url":"https://api.github.com/users/andrialexandrou/repos","events_url":"https://api.github.com/users/andrialexandrou/events{/privacy}","received_events_url":"https://api.github.com/users/andrialexandrou/received_events","type":"User","site_admin":false},"repo":{"id":60724381,"name":"tag-release","full_name":"andrialexandrou/tag-release","owner":{"login":"andrialexandrou","id":14981214,"avatar_url":"https://avatars.githubusercontent.com/u/14981214?v=3","gravatar_id":"","url":"https://api.github.com/users/andrialexandrou","html_url":"https://github.com/andrialexandrou","followers_url":"https://api.github.com/users/andrialexandrou/followers","following_url":"https://api.github.com/users/andrialexandrou/following{/other_user}","gists_url":"https://api.github.com/users/andrialexandrou/gists{/gist_id}","starred_url":"https://api.github.com/users/andrialexandrou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrialexandrou/subscriptions","organizations_url":"https://api.github.com/users/andrialexandrou/orgs","repos_url":"https://api.github.com/users/andrialexandrou/repos","events_url":"https://api.github.com/users/andrialexandrou/events{/privacy}","received_events_url":"https://api.github.com/users/andrialexandrou/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andrialexandrou/tag-release","description":"A Node CLI application to assist with tagging and releasing packages","fork":true,"url":"https://api.github.com/repos/andrialexandrou/tag-release","forks_url":"https://api.github.com/repos/andrialexandrou/tag-release/forks","keys_url":"https://api.github.com/repos/andrialexandrou/tag-release/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andrialexandrou/tag-release/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andrialexandrou/tag-release/teams","hooks_url":"https://api.github.com/repos/andrialexandrou/tag-release/hooks","issue_events_url":"https://api.github.com/repos/andrialexandrou/tag-release/issues/events{/number}","events_url":"https://api.github.com/repos/andrialexandrou/tag-release/events","assignees_url":"https://api.github.com/repos/andrialexandrou/tag-release/assignees{/user}","branches_url":"https://api.github.com/repos/andrialexandrou/tag-release/branches{/branch}","tags_url":"https://api.github.com/repos/andrialexandrou/tag-release/tags","blobs_url":"https://api.github.com/repos/andrialexandrou/tag-release/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andrialexandrou/tag-release/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andrialexandrou/tag-release/git/refs{/sha}","trees_url":"https://api.github.com/repos/andrialexandrou/tag-release/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andrialexandrou/tag-release/statuses/{sha}","languages_url":"https://api.github.com/repos/andrialexandrou/tag-release/languages","stargazers_url":"https://api.github.com/repos/andrialexandrou/tag-release/stargazers","contributors_url":"https://api.github.com/repos/andrialexandrou/tag-release/contributors","subscribers_url":"https://api.github.com/repos/andrialexandrou/tag-release/subscribers","subscription_url":"https://api.github.com/repos/andrialexandrou/tag-release/subscription","commits_url":"https://api.github.com/repos/andrialexandrou/tag-release/commits{/sha}","git_commits_url":"https://api.github.com/repos/andrialexandrou/tag-release/git/commits{/sha}","comments_url":"https://api.github.com/repos/andrialexandrou/tag-release/comments{/number}","issue_comment_url":"https://api.github.com/repos/andrialexandrou/tag-release/issues/comments{/number}","contents_url":"https://api.github.com/repos/andrialexandrou/tag-release/contents/{+path}","compare_url":"https://api.github.com/repos/andrialexandrou/tag-release/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andrialexandrou/tag-release/merges","archive_url":"https://api.github.com/repos/andrialexandrou/tag-release/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andrialexandrou/tag-release/downloads","issues_url":"https://api.github.com/repos/andrialexandrou/tag-release/issues{/number}","pulls_url":"https://api.github.com/repos/andrialexandrou/tag-release/pulls{/number}","milestones_url":"https://api.github.com/repos/andrialexandrou/tag-release/milestones{/number}","notifications_url":"https://api.github.com/repos/andrialexandrou/tag-release/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andrialexandrou/tag-release/labels{/name}","releases_url":"https://api.github.com/repos/andrialexandrou/tag-release/releases{/id}","deployments_url":"https://api.github.com/repos/andrialexandrou/tag-release/deployments","created_at":"2016-06-08T19:22:06Z","updated_at":"2016-06-08T19:22:08Z","pushed_at":"2016-09-09T18:53:44Z","git_url":"git://github.com/andrialexandrou/tag-release.git","ssh_url":"git@github.com:andrialexandrou/tag-release.git","clone_url":"https://github.com/andrialexandrou/tag-release.git","svn_url":"https://github.com/andrialexandrou/tag-release","homepage":null,"size":100,"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":"LeanKit-Labs:master","ref":"master","sha":"7c73fd7c5ac2eb09069adc18a223e2761e9859d7","user":{"login":"LeanKit-Labs","id":7505211,"avatar_url":"https://avatars.githubusercontent.com/u/7505211?v=3","gravatar_id":"","url":"https://api.github.com/users/LeanKit-Labs","html_url":"https://github.com/LeanKit-Labs","followers_url":"https://api.github.com/users/LeanKit-Labs/followers","following_url":"https://api.github.com/users/LeanKit-Labs/following{/other_user}","gists_url":"https://api.github.com/users/LeanKit-Labs/gists{/gist_id}","starred_url":"https://api.github.com/users/LeanKit-Labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeanKit-Labs/subscriptions","organizations_url":"https://api.github.com/users/LeanKit-Labs/orgs","repos_url":"https://api.github.com/users/LeanKit-Labs/repos","events_url":"https://api.github.com/users/LeanKit-Labs/events{/privacy}","received_events_url":"https://api.github.com/users/LeanKit-Labs/received_events","type":"Organization","site_admin":false},"repo":{"id":54413503,"name":"tag-release","full_name":"LeanKit-Labs/tag-release","owner":{"login":"LeanKit-Labs","id":7505211,"avatar_url":"https://avatars.githubusercontent.com/u/7505211?v=3","gravatar_id":"","url":"https://api.github.com/users/LeanKit-Labs","html_url":"https://github.com/LeanKit-Labs","followers_url":"https://api.github.com/users/LeanKit-Labs/followers","following_url":"https://api.github.com/users/LeanKit-Labs/following{/other_user}","gists_url":"https://api.github.com/users/LeanKit-Labs/gists{/gist_id}","starred_url":"https://api.github.com/users/LeanKit-Labs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeanKit-Labs/subscriptions","organizations_url":"https://api.github.com/users/LeanKit-Labs/orgs","repos_url":"https://api.github.com/users/LeanKit-Labs/repos","events_url":"https://api.github.com/users/LeanKit-Labs/events{/privacy}","received_events_url":"https://api.github.com/users/LeanKit-Labs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LeanKit-Labs/tag-release","description":"A Node CLI application to assist with tagging and releasing packages","fork":false,"url":"https://api.github.com/repos/LeanKit-Labs/tag-release","forks_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/forks","keys_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/teams","hooks_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/hooks","issue_events_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/issues/events{/number}","events_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/events","assignees_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/assignees{/user}","branches_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/branches{/branch}","tags_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/tags","blobs_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/git/refs{/sha}","trees_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/statuses/{sha}","languages_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/languages","stargazers_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/stargazers","contributors_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/contributors","subscribers_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/subscribers","subscription_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/subscription","commits_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/commits{/sha}","git_commits_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/git/commits{/sha}","comments_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/comments{/number}","issue_comment_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/issues/comments{/number}","contents_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/contents/{+path}","compare_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/merges","archive_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/downloads","issues_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/issues{/number}","pulls_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/pulls{/number}","milestones_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/milestones{/number}","notifications_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/labels{/name}","releases_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/releases{/id}","deployments_url":"https://api.github.com/repos/LeanKit-Labs/tag-release/deployments","created_at":"2016-03-21T18:36:52Z","updated_at":"2016-08-12T16:56:11Z","pushed_at":"2016-09-09T18:53:44Z","git_url":"git://github.com/LeanKit-Labs/tag-release.git","ssh_url":"git@github.com:LeanKit-Labs/tag-release.git","clone_url":"https://github.com/LeanKit-Labs/tag-release.git","svn_url":"https://github.com/LeanKit-Labs/tag-release","homepage":null,"size":107,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":2,"forks":8,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LeanKit-Labs/tag-release/pulls/34"},"html":{"href":"https://github.com/LeanKit-Labs/tag-release/pull/34"},"issue":{"href":"https://api.github.com/repos/LeanKit-Labs/tag-release/issues/34"},"comments":{"href":"https://api.github.com/repos/LeanKit-Labs/tag-release/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/LeanKit-Labs/tag-release/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/LeanKit-Labs/tag-release/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LeanKit-Labs/tag-release/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/LeanKit-Labs/tag-release/statuses/586e12b791943d5c5530d051ce5e6365f7375df3"}}}}
{"actor":{"display_login":"elijahmanor"}}