{"action":"created","comment":{"url":"https://api.github.com/repos/weflex/seanbot/pulls/comments/61061421","id":61061421,"diff_hunk":"@@ -1,110 +1,139 @@\n-'use strict'\n+'use strict';\n \n const koa = require('koa');\n const koaBody = require('koa-body');\n const GithubWebhookHandler = require('koa-github-webhook-handler');\n const github = require('./github');\n const bumpVersion = require('semver-increment');\n+const Promise = require('bluebird');","path":"index.js","position":9,"original_position":9,"commit_id":"d7ccf8376281c5c1b0f1d15b3b7d78b32410f1ab","original_commit_id":"d7ccf8376281c5c1b0f1d15b3b7d78b32410f1ab","user":{"login":"yorkie","id":1935767,"avatar_url":"https://avatars.githubusercontent.com/u/1935767?v=3","gravatar_id":"","url":"https://api.github.com/users/yorkie","html_url":"https://github.com/yorkie","followers_url":"https://api.github.com/users/yorkie/followers","following_url":"https://api.github.com/users/yorkie/following{/other_user}","gists_url":"https://api.github.com/users/yorkie/gists{/gist_id}","starred_url":"https://api.github.com/users/yorkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yorkie/subscriptions","organizations_url":"https://api.github.com/users/yorkie/orgs","repos_url":"https://api.github.com/users/yorkie/repos","events_url":"https://api.github.com/users/yorkie/events{/privacy}","received_events_url":"https://api.github.com/users/yorkie/received_events","type":"User","site_admin":false},"body":"Why use bluebird instead of the core Promise.","created_at":"2016-04-26T10:14:06Z","updated_at":"2016-04-26T10:14:06Z","html_url":"https://github.com/weflex/seanbot/pull/7#discussion_r61061421","pull_request_url":"https://api.github.com/repos/weflex/seanbot/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/weflex/seanbot/pulls/comments/61061421"},"html":{"href":"https://github.com/weflex/seanbot/pull/7#discussion_r61061421"},"pull_request":{"href":"https://api.github.com/repos/weflex/seanbot/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/weflex/seanbot/pulls/7","id":67859589,"html_url":"https://github.com/weflex/seanbot/pull/7","diff_url":"https://github.com/weflex/seanbot/pull/7.diff","patch_url":"https://github.com/weflex/seanbot/pull/7.patch","issue_url":"https://api.github.com/repos/weflex/seanbot/issues/7","number":7,"state":"open","locked":false,"title":"rewrite with Promise and  ESlint","user":{"login":"zhangweijie-cn","id":7756507,"avatar_url":"https://avatars.githubusercontent.com/u/7756507?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangweijie-cn","html_url":"https://github.com/zhangweijie-cn","followers_url":"https://api.github.com/users/zhangweijie-cn/followers","following_url":"https://api.github.com/users/zhangweijie-cn/following{/other_user}","gists_url":"https://api.github.com/users/zhangweijie-cn/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangweijie-cn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangweijie-cn/subscriptions","organizations_url":"https://api.github.com/users/zhangweijie-cn/orgs","repos_url":"https://api.github.com/users/zhangweijie-cn/repos","events_url":"https://api.github.com/users/zhangweijie-cn/events{/privacy}","received_events_url":"https://api.github.com/users/zhangweijie-cn/received_events","type":"User","site_admin":false},"body":"R= @yorkie ","created_at":"2016-04-26T10:13:00Z","updated_at":"2016-04-26T10:14:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92db1df91ebb3709fd8a25bdb60fb33e152d509e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/weflex/seanbot/pulls/7/commits","review_comments_url":"https://api.github.com/repos/weflex/seanbot/pulls/7/comments","review_comment_url":"https://api.github.com/repos/weflex/seanbot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/weflex/seanbot/issues/7/comments","statuses_url":"https://api.github.com/repos/weflex/seanbot/statuses/d7ccf8376281c5c1b0f1d15b3b7d78b32410f1ab","head":{"label":"weflex:rewrite","ref":"rewrite","sha":"d7ccf8376281c5c1b0f1d15b3b7d78b32410f1ab","user":{"login":"weflex","id":12624675,"avatar_url":"https://avatars.githubusercontent.com/u/12624675?v=3","gravatar_id":"","url":"https://api.github.com/users/weflex","html_url":"https://github.com/weflex","followers_url":"https://api.github.com/users/weflex/followers","following_url":"https://api.github.com/users/weflex/following{/other_user}","gists_url":"https://api.github.com/users/weflex/gists{/gist_id}","starred_url":"https://api.github.com/users/weflex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weflex/subscriptions","organizations_url":"https://api.github.com/users/weflex/orgs","repos_url":"https://api.github.com/users/weflex/repos","events_url":"https://api.github.com/users/weflex/events{/privacy}","received_events_url":"https://api.github.com/users/weflex/received_events","type":"Organization","site_admin":false},"repo":{"id":56859479,"name":"seanbot","full_name":"weflex/seanbot","owner":{"login":"weflex","id":12624675,"avatar_url":"https://avatars.githubusercontent.com/u/12624675?v=3","gravatar_id":"","url":"https://api.github.com/users/weflex","html_url":"https://github.com/weflex","followers_url":"https://api.github.com/users/weflex/followers","following_url":"https://api.github.com/users/weflex/following{/other_user}","gists_url":"https://api.github.com/users/weflex/gists{/gist_id}","starred_url":"https://api.github.com/users/weflex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weflex/subscriptions","organizations_url":"https://api.github.com/users/weflex/orgs","repos_url":"https://api.github.com/users/weflex/repos","events_url":"https://api.github.com/users/weflex/events{/privacy}","received_events_url":"https://api.github.com/users/weflex/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/weflex/seanbot","description":"A GitHub robot helps you bump version when merge pull requests.","fork":false,"url":"https://api.github.com/repos/weflex/seanbot","forks_url":"https://api.github.com/repos/weflex/seanbot/forks","keys_url":"https://api.github.com/repos/weflex/seanbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weflex/seanbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weflex/seanbot/teams","hooks_url":"https://api.github.com/repos/weflex/seanbot/hooks","issue_events_url":"https://api.github.com/repos/weflex/seanbot/issues/events{/number}","events_url":"https://api.github.com/repos/weflex/seanbot/events","assignees_url":"https://api.github.com/repos/weflex/seanbot/assignees{/user}","branches_url":"https://api.github.com/repos/weflex/seanbot/branches{/branch}","tags_url":"https://api.github.com/repos/weflex/seanbot/tags","blobs_url":"https://api.github.com/repos/weflex/seanbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weflex/seanbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weflex/seanbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/weflex/seanbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weflex/seanbot/statuses/{sha}","languages_url":"https://api.github.com/repos/weflex/seanbot/languages","stargazers_url":"https://api.github.com/repos/weflex/seanbot/stargazers","contributors_url":"https://api.github.com/repos/weflex/seanbot/contributors","subscribers_url":"https://api.github.com/repos/weflex/seanbot/subscribers","subscription_url":"https://api.github.com/repos/weflex/seanbot/subscription","commits_url":"https://api.github.com/repos/weflex/seanbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/weflex/seanbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/weflex/seanbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/weflex/seanbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/weflex/seanbot/contents/{+path}","compare_url":"https://api.github.com/repos/weflex/seanbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weflex/seanbot/merges","archive_url":"https://api.github.com/repos/weflex/seanbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weflex/seanbot/downloads","issues_url":"https://api.github.com/repos/weflex/seanbot/issues{/number}","pulls_url":"https://api.github.com/repos/weflex/seanbot/pulls{/number}","milestones_url":"https://api.github.com/repos/weflex/seanbot/milestones{/number}","notifications_url":"https://api.github.com/repos/weflex/seanbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weflex/seanbot/labels{/name}","releases_url":"https://api.github.com/repos/weflex/seanbot/releases{/id}","deployments_url":"https://api.github.com/repos/weflex/seanbot/deployments","created_at":"2016-04-22T14:02:06Z","updated_at":"2016-04-25T09:22:56Z","pushed_at":"2016-04-26T10:13:17Z","git_url":"git://github.com/weflex/seanbot.git","ssh_url":"git@github.com:weflex/seanbot.git","clone_url":"https://github.com/weflex/seanbot.git","svn_url":"https://github.com/weflex/seanbot","homepage":"","size":13,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"weflex:master","ref":"master","sha":"a7886a84c0babfa56ef8c310af5cc21f32341ade","user":{"login":"weflex","id":12624675,"avatar_url":"https://avatars.githubusercontent.com/u/12624675?v=3","gravatar_id":"","url":"https://api.github.com/users/weflex","html_url":"https://github.com/weflex","followers_url":"https://api.github.com/users/weflex/followers","following_url":"https://api.github.com/users/weflex/following{/other_user}","gists_url":"https://api.github.com/users/weflex/gists{/gist_id}","starred_url":"https://api.github.com/users/weflex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weflex/subscriptions","organizations_url":"https://api.github.com/users/weflex/orgs","repos_url":"https://api.github.com/users/weflex/repos","events_url":"https://api.github.com/users/weflex/events{/privacy}","received_events_url":"https://api.github.com/users/weflex/received_events","type":"Organization","site_admin":false},"repo":{"id":56859479,"name":"seanbot","full_name":"weflex/seanbot","owner":{"login":"weflex","id":12624675,"avatar_url":"https://avatars.githubusercontent.com/u/12624675?v=3","gravatar_id":"","url":"https://api.github.com/users/weflex","html_url":"https://github.com/weflex","followers_url":"https://api.github.com/users/weflex/followers","following_url":"https://api.github.com/users/weflex/following{/other_user}","gists_url":"https://api.github.com/users/weflex/gists{/gist_id}","starred_url":"https://api.github.com/users/weflex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weflex/subscriptions","organizations_url":"https://api.github.com/users/weflex/orgs","repos_url":"https://api.github.com/users/weflex/repos","events_url":"https://api.github.com/users/weflex/events{/privacy}","received_events_url":"https://api.github.com/users/weflex/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/weflex/seanbot","description":"A GitHub robot helps you bump version when merge pull requests.","fork":false,"url":"https://api.github.com/repos/weflex/seanbot","forks_url":"https://api.github.com/repos/weflex/seanbot/forks","keys_url":"https://api.github.com/repos/weflex/seanbot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weflex/seanbot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weflex/seanbot/teams","hooks_url":"https://api.github.com/repos/weflex/seanbot/hooks","issue_events_url":"https://api.github.com/repos/weflex/seanbot/issues/events{/number}","events_url":"https://api.github.com/repos/weflex/seanbot/events","assignees_url":"https://api.github.com/repos/weflex/seanbot/assignees{/user}","branches_url":"https://api.github.com/repos/weflex/seanbot/branches{/branch}","tags_url":"https://api.github.com/repos/weflex/seanbot/tags","blobs_url":"https://api.github.com/repos/weflex/seanbot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weflex/seanbot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weflex/seanbot/git/refs{/sha}","trees_url":"https://api.github.com/repos/weflex/seanbot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weflex/seanbot/statuses/{sha}","languages_url":"https://api.github.com/repos/weflex/seanbot/languages","stargazers_url":"https://api.github.com/repos/weflex/seanbot/stargazers","contributors_url":"https://api.github.com/repos/weflex/seanbot/contributors","subscribers_url":"https://api.github.com/repos/weflex/seanbot/subscribers","subscription_url":"https://api.github.com/repos/weflex/seanbot/subscription","commits_url":"https://api.github.com/repos/weflex/seanbot/commits{/sha}","git_commits_url":"https://api.github.com/repos/weflex/seanbot/git/commits{/sha}","comments_url":"https://api.github.com/repos/weflex/seanbot/comments{/number}","issue_comment_url":"https://api.github.com/repos/weflex/seanbot/issues/comments{/number}","contents_url":"https://api.github.com/repos/weflex/seanbot/contents/{+path}","compare_url":"https://api.github.com/repos/weflex/seanbot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weflex/seanbot/merges","archive_url":"https://api.github.com/repos/weflex/seanbot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weflex/seanbot/downloads","issues_url":"https://api.github.com/repos/weflex/seanbot/issues{/number}","pulls_url":"https://api.github.com/repos/weflex/seanbot/pulls{/number}","milestones_url":"https://api.github.com/repos/weflex/seanbot/milestones{/number}","notifications_url":"https://api.github.com/repos/weflex/seanbot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weflex/seanbot/labels{/name}","releases_url":"https://api.github.com/repos/weflex/seanbot/releases{/id}","deployments_url":"https://api.github.com/repos/weflex/seanbot/deployments","created_at":"2016-04-22T14:02:06Z","updated_at":"2016-04-25T09:22:56Z","pushed_at":"2016-04-26T10:13:17Z","git_url":"git://github.com/weflex/seanbot.git","ssh_url":"git@github.com:weflex/seanbot.git","clone_url":"https://github.com/weflex/seanbot.git","svn_url":"https://github.com/weflex/seanbot","homepage":"","size":13,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/weflex/seanbot/pulls/7"},"html":{"href":"https://github.com/weflex/seanbot/pull/7"},"issue":{"href":"https://api.github.com/repos/weflex/seanbot/issues/7"},"comments":{"href":"https://api.github.com/repos/weflex/seanbot/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/weflex/seanbot/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/weflex/seanbot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/weflex/seanbot/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/weflex/seanbot/statuses/d7ccf8376281c5c1b0f1d15b3b7d78b32410f1ab"}}}}