{"action":"created","comment":{"url":"https://api.github.com/repos/snyk/snyk-docker-plugin/pulls/comments/198766437","pull_request_review_id":132753531,"id":198766437,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODc2NjQzNw==","diff_hunk":"@@ -65,7 +66,8 @@ function fetch() {\n           reject(err);\n         })\n         .on('finish', function () {\n-          console.log(`\\t=> download complete.`);\n+          // padding log() with some whitespaces to not mix with the CLI spinner\n+          console.log(`  => download complete.` + ' '.repeat(50));","path":"lib/fetch-snyk-docker-analyzer.js","position":25,"original_position":25,"commit_id":"fa667066afe8392c147132ded0f7b1056c0f7474","original_commit_id":"fa667066afe8392c147132ded0f7b1056c0f7474","user":{"login":"darscan","id":59090,"node_id":"MDQ6VXNlcjU5MDkw","avatar_url":"https://avatars2.githubusercontent.com/u/59090?v=4","gravatar_id":"","url":"https://api.github.com/users/darscan","html_url":"https://github.com/darscan","followers_url":"https://api.github.com/users/darscan/followers","following_url":"https://api.github.com/users/darscan/following{/other_user}","gists_url":"https://api.github.com/users/darscan/gists{/gist_id}","starred_url":"https://api.github.com/users/darscan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darscan/subscriptions","organizations_url":"https://api.github.com/users/darscan/orgs","repos_url":"https://api.github.com/users/darscan/repos","events_url":"https://api.github.com/users/darscan/events{/privacy}","received_events_url":"https://api.github.com/users/darscan/received_events","type":"User","site_admin":false},"body":"Have you tried this on Node 4?","created_at":"2018-06-28T09:08:20Z","updated_at":"2018-06-28T09:08:20Z","html_url":"https://github.com/snyk/snyk-docker-plugin/pull/32#discussion_r198766437","pull_request_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/pulls/32","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/snyk/snyk-docker-plugin/pulls/comments/198766437"},"html":{"href":"https://github.com/snyk/snyk-docker-plugin/pull/32#discussion_r198766437"},"pull_request":{"href":"https://api.github.com/repos/snyk/snyk-docker-plugin/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/snyk/snyk-docker-plugin/pulls/32","id":197931143,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk3OTMxMTQz","html_url":"https://github.com/snyk/snyk-docker-plugin/pull/32","diff_url":"https://github.com/snyk/snyk-docker-plugin/pull/32.diff","patch_url":"https://github.com/snyk/snyk-docker-plugin/pull/32.patch","issue_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/issues/32","number":32,"state":"closed","locked":false,"title":"fix: improve analyzer download console logs","user":{"login":"michael-go","id":4750004,"node_id":"MDQ6VXNlcjQ3NTAwMDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4750004?v=4","gravatar_id":"","url":"https://api.github.com/users/michael-go","html_url":"https://github.com/michael-go","followers_url":"https://api.github.com/users/michael-go/followers","following_url":"https://api.github.com/users/michael-go/following{/other_user}","gists_url":"https://api.github.com/users/michael-go/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-go/subscriptions","organizations_url":"https://api.github.com/users/michael-go/orgs","repos_url":"https://api.github.com/users/michael-go/repos","events_url":"https://api.github.com/users/michael-go/events{/privacy}","received_events_url":"https://api.github.com/users/michael-go/received_events","type":"User","site_admin":false},"body":"print the download path, and add some padding to play nicer with the CLI\r\nspinner.","created_at":"2018-06-28T06:42:39Z","updated_at":"2018-06-28T09:08:20Z","closed_at":"2018-06-28T06:46:16Z","merged_at":"2018-06-28T06:46:16Z","merge_commit_sha":"21ec9b66318fde575630e2d7e283aa4e1579a602","assignee":{"login":"michael-go","id":4750004,"node_id":"MDQ6VXNlcjQ3NTAwMDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4750004?v=4","gravatar_id":"","url":"https://api.github.com/users/michael-go","html_url":"https://github.com/michael-go","followers_url":"https://api.github.com/users/michael-go/followers","following_url":"https://api.github.com/users/michael-go/following{/other_user}","gists_url":"https://api.github.com/users/michael-go/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-go/subscriptions","organizations_url":"https://api.github.com/users/michael-go/orgs","repos_url":"https://api.github.com/users/michael-go/repos","events_url":"https://api.github.com/users/michael-go/events{/privacy}","received_events_url":"https://api.github.com/users/michael-go/received_events","type":"User","site_admin":false},"assignees":[{"login":"michael-go","id":4750004,"node_id":"MDQ6VXNlcjQ3NTAwMDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4750004?v=4","gravatar_id":"","url":"https://api.github.com/users/michael-go","html_url":"https://github.com/michael-go","followers_url":"https://api.github.com/users/michael-go/followers","following_url":"https://api.github.com/users/michael-go/following{/other_user}","gists_url":"https://api.github.com/users/michael-go/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-go/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-go/subscriptions","organizations_url":"https://api.github.com/users/michael-go/orgs","repos_url":"https://api.github.com/users/michael-go/repos","events_url":"https://api.github.com/users/michael-go/events{/privacy}","received_events_url":"https://api.github.com/users/michael-go/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/pulls/32/commits","review_comments_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/pulls/32/comments","review_comment_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/issues/32/comments","statuses_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/statuses/fa667066afe8392c147132ded0f7b1056c0f7474","head":{"label":"snyk:fix/improve-analyzer-download-console-output","ref":"fix/improve-analyzer-download-console-output","sha":"fa667066afe8392c147132ded0f7b1056c0f7474","user":{"login":"snyk","id":12959162,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTU5MTYy","avatar_url":"https://avatars1.githubusercontent.com/u/12959162?v=4","gravatar_id":"","url":"https://api.github.com/users/snyk","html_url":"https://github.com/snyk","followers_url":"https://api.github.com/users/snyk/followers","following_url":"https://api.github.com/users/snyk/following{/other_user}","gists_url":"https://api.github.com/users/snyk/gists{/gist_id}","starred_url":"https://api.github.com/users/snyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snyk/subscriptions","organizations_url":"https://api.github.com/users/snyk/orgs","repos_url":"https://api.github.com/users/snyk/repos","events_url":"https://api.github.com/users/snyk/events{/privacy}","received_events_url":"https://api.github.com/users/snyk/received_events","type":"Organization","site_admin":false},"repo":{"id":123427146,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM0MjcxNDY=","name":"snyk-docker-plugin","full_name":"snyk/snyk-docker-plugin","owner":{"login":"snyk","id":12959162,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTU5MTYy","avatar_url":"https://avatars1.githubusercontent.com/u/12959162?v=4","gravatar_id":"","url":"https://api.github.com/users/snyk","html_url":"https://github.com/snyk","followers_url":"https://api.github.com/users/snyk/followers","following_url":"https://api.github.com/users/snyk/following{/other_user}","gists_url":"https://api.github.com/users/snyk/gists{/gist_id}","starred_url":"https://api.github.com/users/snyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snyk/subscriptions","organizations_url":"https://api.github.com/users/snyk/orgs","repos_url":"https://api.github.com/users/snyk/repos","events_url":"https://api.github.com/users/snyk/events{/privacy}","received_events_url":"https://api.github.com/users/snyk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/snyk/snyk-docker-plugin","description":"This plugin provides dependency metadata for Docker images","fork":false,"url":"https://api.github.com/repos/snyk/snyk-docker-plugin","forks_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/forks","keys_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/teams","hooks_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/hooks","issue_events_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/events","assignees_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/tags","blobs_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/languages","stargazers_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/stargazers","contributors_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/contributors","subscribers_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/subscribers","subscription_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/subscription","commits_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/merges","archive_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/downloads","issues_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/labels{/name}","releases_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/deployments","created_at":"2018-03-01T11:39:01Z","updated_at":"2018-06-28T09:04:54Z","pushed_at":"2018-06-28T09:04:55Z","git_url":"git://github.com/snyk/snyk-docker-plugin.git","ssh_url":"git@github.com:snyk/snyk-docker-plugin.git","clone_url":"https://github.com/snyk/snyk-docker-plugin.git","svn_url":"https://github.com/snyk/snyk-docker-plugin","homepage":null,"size":115,"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":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"snyk:master","ref":"master","sha":"e8d34ad175dc05040c0410ab2834c9ca2425294d","user":{"login":"snyk","id":12959162,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTU5MTYy","avatar_url":"https://avatars1.githubusercontent.com/u/12959162?v=4","gravatar_id":"","url":"https://api.github.com/users/snyk","html_url":"https://github.com/snyk","followers_url":"https://api.github.com/users/snyk/followers","following_url":"https://api.github.com/users/snyk/following{/other_user}","gists_url":"https://api.github.com/users/snyk/gists{/gist_id}","starred_url":"https://api.github.com/users/snyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snyk/subscriptions","organizations_url":"https://api.github.com/users/snyk/orgs","repos_url":"https://api.github.com/users/snyk/repos","events_url":"https://api.github.com/users/snyk/events{/privacy}","received_events_url":"https://api.github.com/users/snyk/received_events","type":"Organization","site_admin":false},"repo":{"id":123427146,"node_id":"MDEwOlJlcG9zaXRvcnkxMjM0MjcxNDY=","name":"snyk-docker-plugin","full_name":"snyk/snyk-docker-plugin","owner":{"login":"snyk","id":12959162,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEyOTU5MTYy","avatar_url":"https://avatars1.githubusercontent.com/u/12959162?v=4","gravatar_id":"","url":"https://api.github.com/users/snyk","html_url":"https://github.com/snyk","followers_url":"https://api.github.com/users/snyk/followers","following_url":"https://api.github.com/users/snyk/following{/other_user}","gists_url":"https://api.github.com/users/snyk/gists{/gist_id}","starred_url":"https://api.github.com/users/snyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snyk/subscriptions","organizations_url":"https://api.github.com/users/snyk/orgs","repos_url":"https://api.github.com/users/snyk/repos","events_url":"https://api.github.com/users/snyk/events{/privacy}","received_events_url":"https://api.github.com/users/snyk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/snyk/snyk-docker-plugin","description":"This plugin provides dependency metadata for Docker images","fork":false,"url":"https://api.github.com/repos/snyk/snyk-docker-plugin","forks_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/forks","keys_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/teams","hooks_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/hooks","issue_events_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/events","assignees_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/tags","blobs_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/languages","stargazers_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/stargazers","contributors_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/contributors","subscribers_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/subscribers","subscription_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/subscription","commits_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/merges","archive_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/downloads","issues_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/labels{/name}","releases_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/snyk/snyk-docker-plugin/deployments","created_at":"2018-03-01T11:39:01Z","updated_at":"2018-06-28T09:04:54Z","pushed_at":"2018-06-28T09:04:55Z","git_url":"git://github.com/snyk/snyk-docker-plugin.git","ssh_url":"git@github.com:snyk/snyk-docker-plugin.git","clone_url":"https://github.com/snyk/snyk-docker-plugin.git","svn_url":"https://github.com/snyk/snyk-docker-plugin","homepage":null,"size":115,"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":1,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/snyk/snyk-docker-plugin/pulls/32"},"html":{"href":"https://github.com/snyk/snyk-docker-plugin/pull/32"},"issue":{"href":"https://api.github.com/repos/snyk/snyk-docker-plugin/issues/32"},"comments":{"href":"https://api.github.com/repos/snyk/snyk-docker-plugin/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/snyk/snyk-docker-plugin/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/snyk/snyk-docker-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/snyk/snyk-docker-plugin/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/snyk/snyk-docker-plugin/statuses/fa667066afe8392c147132ded0f7b1056c0f7474"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"darscan"}}