{"action":"created","comment":{"url":"https://api.github.com/repos/guyfedwards/emojo/pulls/comments/235211290","pull_request_review_id":177024892,"id":235211290,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTIxMTI5MA==","diff_hunk":"@@ -0,0 +1,45 @@\n+const axios = require('axios');\n+const sharp = require('sharp');\n+const Gifsicle = require('gifsicle-stream');\n+\n+const logger = require('./logger');\n+\n+exports.fileTypeIsSupported = async metadata => {","path":"src/utils.js","position":7,"original_position":7,"commit_id":"cb6569ae7ae80eaa78e941eb9f523d8fc6b19030","original_commit_id":"cb6569ae7ae80eaa78e941eb9f523d8fc6b19030","user":{"login":"guyfedwards","id":1794071,"node_id":"MDQ6VXNlcjE3OTQwNzE=","avatar_url":"https://avatars3.githubusercontent.com/u/1794071?v=4","gravatar_id":"","url":"https://api.github.com/users/guyfedwards","html_url":"https://github.com/guyfedwards","followers_url":"https://api.github.com/users/guyfedwards/followers","following_url":"https://api.github.com/users/guyfedwards/following{/other_user}","gists_url":"https://api.github.com/users/guyfedwards/gists{/gist_id}","starred_url":"https://api.github.com/users/guyfedwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyfedwards/subscriptions","organizations_url":"https://api.github.com/users/guyfedwards/orgs","repos_url":"https://api.github.com/users/guyfedwards/repos","events_url":"https://api.github.com/users/guyfedwards/events{/privacy}","received_events_url":"https://api.github.com/users/guyfedwards/received_events","type":"User","site_admin":false},"body":"doesn't need to be `async`","created_at":"2018-11-20T23:50:38Z","updated_at":"2018-11-20T23:52:28Z","html_url":"https://github.com/guyfedwards/emojo/pull/19#discussion_r235211290","pull_request_url":"https://api.github.com/repos/guyfedwards/emojo/pulls/19","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/guyfedwards/emojo/pulls/comments/235211290"},"html":{"href":"https://github.com/guyfedwards/emojo/pull/19#discussion_r235211290"},"pull_request":{"href":"https://api.github.com/repos/guyfedwards/emojo/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/guyfedwards/emojo/pulls/19","id":232367365,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyMzY3MzY1","html_url":"https://github.com/guyfedwards/emojo/pull/19","diff_url":"https://github.com/guyfedwards/emojo/pull/19.diff","patch_url":"https://github.com/guyfedwards/emojo/pull/19.patch","issue_url":"https://api.github.com/repos/guyfedwards/emojo/issues/19","number":19,"state":"open","locked":false,"title":"refactor: organised the code a bit to reduce promise chains and nesting","user":{"login":"benswinburne","id":1208977,"node_id":"MDQ6VXNlcjEyMDg5Nzc=","avatar_url":"https://avatars0.githubusercontent.com/u/1208977?v=4","gravatar_id":"","url":"https://api.github.com/users/benswinburne","html_url":"https://github.com/benswinburne","followers_url":"https://api.github.com/users/benswinburne/followers","following_url":"https://api.github.com/users/benswinburne/following{/other_user}","gists_url":"https://api.github.com/users/benswinburne/gists{/gist_id}","starred_url":"https://api.github.com/users/benswinburne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benswinburne/subscriptions","organizations_url":"https://api.github.com/users/benswinburne/orgs","repos_url":"https://api.github.com/users/benswinburne/repos","events_url":"https://api.github.com/users/benswinburne/events{/privacy}","received_events_url":"https://api.github.com/users/benswinburne/received_events","type":"User","site_admin":false},"body":null,"created_at":"2018-11-20T15:52:02Z","updated_at":"2018-11-20T23:52:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a67ac41e3db0793d8212760e306912d242404af4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/guyfedwards/emojo/pulls/19/commits","review_comments_url":"https://api.github.com/repos/guyfedwards/emojo/pulls/19/comments","review_comment_url":"https://api.github.com/repos/guyfedwards/emojo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guyfedwards/emojo/issues/19/comments","statuses_url":"https://api.github.com/repos/guyfedwards/emojo/statuses/cb6569ae7ae80eaa78e941eb9f523d8fc6b19030","head":{"label":"guyfedwards:split-up-refactor","ref":"split-up-refactor","sha":"cb6569ae7ae80eaa78e941eb9f523d8fc6b19030","user":{"login":"guyfedwards","id":1794071,"node_id":"MDQ6VXNlcjE3OTQwNzE=","avatar_url":"https://avatars3.githubusercontent.com/u/1794071?v=4","gravatar_id":"","url":"https://api.github.com/users/guyfedwards","html_url":"https://github.com/guyfedwards","followers_url":"https://api.github.com/users/guyfedwards/followers","following_url":"https://api.github.com/users/guyfedwards/following{/other_user}","gists_url":"https://api.github.com/users/guyfedwards/gists{/gist_id}","starred_url":"https://api.github.com/users/guyfedwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyfedwards/subscriptions","organizations_url":"https://api.github.com/users/guyfedwards/orgs","repos_url":"https://api.github.com/users/guyfedwards/repos","events_url":"https://api.github.com/users/guyfedwards/events{/privacy}","received_events_url":"https://api.github.com/users/guyfedwards/received_events","type":"User","site_admin":false},"repo":{"id":155762471,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU3NjI0NzE=","name":"emojo","full_name":"guyfedwards/emojo","private":false,"owner":{"login":"guyfedwards","id":1794071,"node_id":"MDQ6VXNlcjE3OTQwNzE=","avatar_url":"https://avatars3.githubusercontent.com/u/1794071?v=4","gravatar_id":"","url":"https://api.github.com/users/guyfedwards","html_url":"https://github.com/guyfedwards","followers_url":"https://api.github.com/users/guyfedwards/followers","following_url":"https://api.github.com/users/guyfedwards/following{/other_user}","gists_url":"https://api.github.com/users/guyfedwards/gists{/gist_id}","starred_url":"https://api.github.com/users/guyfedwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyfedwards/subscriptions","organizations_url":"https://api.github.com/users/guyfedwards/orgs","repos_url":"https://api.github.com/users/guyfedwards/repos","events_url":"https://api.github.com/users/guyfedwards/events{/privacy}","received_events_url":"https://api.github.com/users/guyfedwards/received_events","type":"User","site_admin":false},"html_url":"https://github.com/guyfedwards/emojo","description":null,"fork":false,"url":"https://api.github.com/repos/guyfedwards/emojo","forks_url":"https://api.github.com/repos/guyfedwards/emojo/forks","keys_url":"https://api.github.com/repos/guyfedwards/emojo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guyfedwards/emojo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guyfedwards/emojo/teams","hooks_url":"https://api.github.com/repos/guyfedwards/emojo/hooks","issue_events_url":"https://api.github.com/repos/guyfedwards/emojo/issues/events{/number}","events_url":"https://api.github.com/repos/guyfedwards/emojo/events","assignees_url":"https://api.github.com/repos/guyfedwards/emojo/assignees{/user}","branches_url":"https://api.github.com/repos/guyfedwards/emojo/branches{/branch}","tags_url":"https://api.github.com/repos/guyfedwards/emojo/tags","blobs_url":"https://api.github.com/repos/guyfedwards/emojo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guyfedwards/emojo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guyfedwards/emojo/git/refs{/sha}","trees_url":"https://api.github.com/repos/guyfedwards/emojo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guyfedwards/emojo/statuses/{sha}","languages_url":"https://api.github.com/repos/guyfedwards/emojo/languages","stargazers_url":"https://api.github.com/repos/guyfedwards/emojo/stargazers","contributors_url":"https://api.github.com/repos/guyfedwards/emojo/contributors","subscribers_url":"https://api.github.com/repos/guyfedwards/emojo/subscribers","subscription_url":"https://api.github.com/repos/guyfedwards/emojo/subscription","commits_url":"https://api.github.com/repos/guyfedwards/emojo/commits{/sha}","git_commits_url":"https://api.github.com/repos/guyfedwards/emojo/git/commits{/sha}","comments_url":"https://api.github.com/repos/guyfedwards/emojo/comments{/number}","issue_comment_url":"https://api.github.com/repos/guyfedwards/emojo/issues/comments{/number}","contents_url":"https://api.github.com/repos/guyfedwards/emojo/contents/{+path}","compare_url":"https://api.github.com/repos/guyfedwards/emojo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guyfedwards/emojo/merges","archive_url":"https://api.github.com/repos/guyfedwards/emojo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guyfedwards/emojo/downloads","issues_url":"https://api.github.com/repos/guyfedwards/emojo/issues{/number}","pulls_url":"https://api.github.com/repos/guyfedwards/emojo/pulls{/number}","milestones_url":"https://api.github.com/repos/guyfedwards/emojo/milestones{/number}","notifications_url":"https://api.github.com/repos/guyfedwards/emojo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guyfedwards/emojo/labels{/name}","releases_url":"https://api.github.com/repos/guyfedwards/emojo/releases{/id}","deployments_url":"https://api.github.com/repos/guyfedwards/emojo/deployments","created_at":"2018-11-01T19:03:24Z","updated_at":"2018-11-14T13:00:40Z","pushed_at":"2018-11-20T17:40:18Z","git_url":"git://github.com/guyfedwards/emojo.git","ssh_url":"git@github.com:guyfedwards/emojo.git","clone_url":"https://github.com/guyfedwards/emojo.git","svn_url":"https://github.com/guyfedwards/emojo","homepage":null,"size":305,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"guyfedwards:master","ref":"master","sha":"42c7ecd5f24ef47665f9109ef33b96ec985c8a8e","user":{"login":"guyfedwards","id":1794071,"node_id":"MDQ6VXNlcjE3OTQwNzE=","avatar_url":"https://avatars3.githubusercontent.com/u/1794071?v=4","gravatar_id":"","url":"https://api.github.com/users/guyfedwards","html_url":"https://github.com/guyfedwards","followers_url":"https://api.github.com/users/guyfedwards/followers","following_url":"https://api.github.com/users/guyfedwards/following{/other_user}","gists_url":"https://api.github.com/users/guyfedwards/gists{/gist_id}","starred_url":"https://api.github.com/users/guyfedwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyfedwards/subscriptions","organizations_url":"https://api.github.com/users/guyfedwards/orgs","repos_url":"https://api.github.com/users/guyfedwards/repos","events_url":"https://api.github.com/users/guyfedwards/events{/privacy}","received_events_url":"https://api.github.com/users/guyfedwards/received_events","type":"User","site_admin":false},"repo":{"id":155762471,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU3NjI0NzE=","name":"emojo","full_name":"guyfedwards/emojo","private":false,"owner":{"login":"guyfedwards","id":1794071,"node_id":"MDQ6VXNlcjE3OTQwNzE=","avatar_url":"https://avatars3.githubusercontent.com/u/1794071?v=4","gravatar_id":"","url":"https://api.github.com/users/guyfedwards","html_url":"https://github.com/guyfedwards","followers_url":"https://api.github.com/users/guyfedwards/followers","following_url":"https://api.github.com/users/guyfedwards/following{/other_user}","gists_url":"https://api.github.com/users/guyfedwards/gists{/gist_id}","starred_url":"https://api.github.com/users/guyfedwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guyfedwards/subscriptions","organizations_url":"https://api.github.com/users/guyfedwards/orgs","repos_url":"https://api.github.com/users/guyfedwards/repos","events_url":"https://api.github.com/users/guyfedwards/events{/privacy}","received_events_url":"https://api.github.com/users/guyfedwards/received_events","type":"User","site_admin":false},"html_url":"https://github.com/guyfedwards/emojo","description":null,"fork":false,"url":"https://api.github.com/repos/guyfedwards/emojo","forks_url":"https://api.github.com/repos/guyfedwards/emojo/forks","keys_url":"https://api.github.com/repos/guyfedwards/emojo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guyfedwards/emojo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guyfedwards/emojo/teams","hooks_url":"https://api.github.com/repos/guyfedwards/emojo/hooks","issue_events_url":"https://api.github.com/repos/guyfedwards/emojo/issues/events{/number}","events_url":"https://api.github.com/repos/guyfedwards/emojo/events","assignees_url":"https://api.github.com/repos/guyfedwards/emojo/assignees{/user}","branches_url":"https://api.github.com/repos/guyfedwards/emojo/branches{/branch}","tags_url":"https://api.github.com/repos/guyfedwards/emojo/tags","blobs_url":"https://api.github.com/repos/guyfedwards/emojo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guyfedwards/emojo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guyfedwards/emojo/git/refs{/sha}","trees_url":"https://api.github.com/repos/guyfedwards/emojo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guyfedwards/emojo/statuses/{sha}","languages_url":"https://api.github.com/repos/guyfedwards/emojo/languages","stargazers_url":"https://api.github.com/repos/guyfedwards/emojo/stargazers","contributors_url":"https://api.github.com/repos/guyfedwards/emojo/contributors","subscribers_url":"https://api.github.com/repos/guyfedwards/emojo/subscribers","subscription_url":"https://api.github.com/repos/guyfedwards/emojo/subscription","commits_url":"https://api.github.com/repos/guyfedwards/emojo/commits{/sha}","git_commits_url":"https://api.github.com/repos/guyfedwards/emojo/git/commits{/sha}","comments_url":"https://api.github.com/repos/guyfedwards/emojo/comments{/number}","issue_comment_url":"https://api.github.com/repos/guyfedwards/emojo/issues/comments{/number}","contents_url":"https://api.github.com/repos/guyfedwards/emojo/contents/{+path}","compare_url":"https://api.github.com/repos/guyfedwards/emojo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guyfedwards/emojo/merges","archive_url":"https://api.github.com/repos/guyfedwards/emojo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guyfedwards/emojo/downloads","issues_url":"https://api.github.com/repos/guyfedwards/emojo/issues{/number}","pulls_url":"https://api.github.com/repos/guyfedwards/emojo/pulls{/number}","milestones_url":"https://api.github.com/repos/guyfedwards/emojo/milestones{/number}","notifications_url":"https://api.github.com/repos/guyfedwards/emojo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guyfedwards/emojo/labels{/name}","releases_url":"https://api.github.com/repos/guyfedwards/emojo/releases{/id}","deployments_url":"https://api.github.com/repos/guyfedwards/emojo/deployments","created_at":"2018-11-01T19:03:24Z","updated_at":"2018-11-14T13:00:40Z","pushed_at":"2018-11-20T17:40:18Z","git_url":"git://github.com/guyfedwards/emojo.git","ssh_url":"git@github.com:guyfedwards/emojo.git","clone_url":"https://github.com/guyfedwards/emojo.git","svn_url":"https://github.com/guyfedwards/emojo","homepage":null,"size":305,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":5,"license":null,"forks":0,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guyfedwards/emojo/pulls/19"},"html":{"href":"https://github.com/guyfedwards/emojo/pull/19"},"issue":{"href":"https://api.github.com/repos/guyfedwards/emojo/issues/19"},"comments":{"href":"https://api.github.com/repos/guyfedwards/emojo/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/guyfedwards/emojo/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/guyfedwards/emojo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guyfedwards/emojo/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/guyfedwards/emojo/statuses/cb6569ae7ae80eaa78e941eb9f523d8fc6b19030"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"guyfedwards"}}