{"action":"created","comment":{"url":"https://api.github.com/repos/resin-io/resin-cli-visuals/pulls/comments/40090908","id":40090908,"diff_hunk":"@@ -34,6 +38,17 @@ getDrives = ->\n \t\t\tasync.reject drives, drivelist.isSystem, (results) ->\n \t\t\t\treturn callback(null, results)\n \n+cleanupList = (previous,currrent) ->\n+\tremovedDrive =\n+\t\tname: \"#{currrent.device} (#{currrent.size}) - #{currrent.description}\"\n+\t\tvalue: currrent.device\n+\treturn _.reject previous, (drive) ->","path":"lib/widgets/drive.coffee","position":19,"original_position":19,"commit_id":"8cc129acd3bbf3a744f18867c5246cdbf44b811d","original_commit_id":"8cc129acd3bbf3a744f18867c5246cdbf44b811d","user":{"login":"jviotti","id":2192773,"avatar_url":"https://avatars.githubusercontent.com/u/2192773?v=3","gravatar_id":"","url":"https://api.github.com/users/jviotti","html_url":"https://github.com/jviotti","followers_url":"https://api.github.com/users/jviotti/followers","following_url":"https://api.github.com/users/jviotti/following{/other_user}","gists_url":"https://api.github.com/users/jviotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jviotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviotti/subscriptions","organizations_url":"https://api.github.com/users/jviotti/orgs","repos_url":"https://api.github.com/users/jviotti/repos","events_url":"https://api.github.com/users/jviotti/events{/privacy}","received_events_url":"https://api.github.com/users/jviotti/received_events","type":"User","site_admin":false},"body":"For pure styling purposes, I'd prefer to have a blank line above this.","created_at":"2015-09-22T14:15:45Z","updated_at":"2015-09-22T14:15:45Z","html_url":"https://github.com/resin-io/resin-cli-visuals/pull/27#discussion_r40090908","pull_request_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/resin-io/resin-cli-visuals/pulls/comments/40090908"},"html":{"href":"https://github.com/resin-io/resin-cli-visuals/pull/27#discussion_r40090908"},"pull_request":{"href":"https://api.github.com/repos/resin-io/resin-cli-visuals/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/resin-io/resin-cli-visuals/pulls/27","id":45419696,"html_url":"https://github.com/resin-io/resin-cli-visuals/pull/27","diff_url":"https://github.com/resin-io/resin-cli-visuals/pull/27.diff","patch_url":"https://github.com/resin-io/resin-cli-visuals/pull/27.patch","issue_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/issues/27","number":27,"state":"open","locked":false,"title":"Change drive functionality in order to encompass drive auto-detection","user":{"login":"mkorakakis","id":10574650,"avatar_url":"https://avatars.githubusercontent.com/u/10574650?v=3","gravatar_id":"","url":"https://api.github.com/users/mkorakakis","html_url":"https://github.com/mkorakakis","followers_url":"https://api.github.com/users/mkorakakis/followers","following_url":"https://api.github.com/users/mkorakakis/following{/other_user}","gists_url":"https://api.github.com/users/mkorakakis/gists{/gist_id}","starred_url":"https://api.github.com/users/mkorakakis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkorakakis/subscriptions","organizations_url":"https://api.github.com/users/mkorakakis/orgs","repos_url":"https://api.github.com/users/mkorakakis/repos","events_url":"https://api.github.com/users/mkorakakis/events{/privacy}","received_events_url":"https://api.github.com/users/mkorakakis/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-18T15:31:34Z","updated_at":"2015-09-22T14:15:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"74c7f23ba8d20a6dd594f365b7d278bf49a7469e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/pulls/27/commits","review_comments_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/pulls/27/comments","review_comment_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/pulls/comments{/number}","comments_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/issues/27/comments","statuses_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/statuses/8cc129acd3bbf3a744f18867c5246cdbf44b811d","head":{"label":"resin-io:modify-drive","ref":"modify-drive","sha":"8cc129acd3bbf3a744f18867c5246cdbf44b811d","user":{"login":"resin-io","id":6157842,"avatar_url":"https://avatars.githubusercontent.com/u/6157842?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io","html_url":"https://github.com/resin-io","followers_url":"https://api.github.com/users/resin-io/followers","following_url":"https://api.github.com/users/resin-io/following{/other_user}","gists_url":"https://api.github.com/users/resin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io/subscriptions","organizations_url":"https://api.github.com/users/resin-io/orgs","repos_url":"https://api.github.com/users/resin-io/repos","events_url":"https://api.github.com/users/resin-io/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io/received_events","type":"Organization","site_admin":false},"repo":{"id":29731139,"name":"resin-cli-visuals","full_name":"resin-io/resin-cli-visuals","owner":{"login":"resin-io","id":6157842,"avatar_url":"https://avatars.githubusercontent.com/u/6157842?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io","html_url":"https://github.com/resin-io","followers_url":"https://api.github.com/users/resin-io/followers","following_url":"https://api.github.com/users/resin-io/following{/other_user}","gists_url":"https://api.github.com/users/resin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io/subscriptions","organizations_url":"https://api.github.com/users/resin-io/orgs","repos_url":"https://api.github.com/users/resin-io/repos","events_url":"https://api.github.com/users/resin-io/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-io/resin-cli-visuals","description":"Resin CLI UI widgets.","fork":false,"url":"https://api.github.com/repos/resin-io/resin-cli-visuals","forks_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/forks","keys_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/teams","hooks_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/hooks","issue_events_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/issues/events{/number}","events_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/events","assignees_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/assignees{/user}","branches_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/branches{/branch}","tags_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/tags","blobs_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/languages","stargazers_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/stargazers","contributors_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/contributors","subscribers_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/subscribers","subscription_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/subscription","commits_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/contents/{+path}","compare_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/merges","archive_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/downloads","issues_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/issues{/number}","pulls_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/labels{/name}","releases_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/releases{/id}","created_at":"2015-01-23T12:12:15Z","updated_at":"2015-07-22T14:31:12Z","pushed_at":"2015-09-22T14:05:05Z","git_url":"git://github.com/resin-io/resin-cli-visuals.git","ssh_url":"git@github.com:resin-io/resin-cli-visuals.git","clone_url":"https://github.com/resin-io/resin-cli-visuals.git","svn_url":"https://github.com/resin-io/resin-cli-visuals","homepage":"","size":676,"stargazers_count":1,"watchers_count":1,"language":"CoffeeScript","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":1,"default_branch":"master"}},"base":{"label":"resin-io:master","ref":"master","sha":"89acc1f0c4c1ebdbe6e42c70377fd90abd5fba67","user":{"login":"resin-io","id":6157842,"avatar_url":"https://avatars.githubusercontent.com/u/6157842?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io","html_url":"https://github.com/resin-io","followers_url":"https://api.github.com/users/resin-io/followers","following_url":"https://api.github.com/users/resin-io/following{/other_user}","gists_url":"https://api.github.com/users/resin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io/subscriptions","organizations_url":"https://api.github.com/users/resin-io/orgs","repos_url":"https://api.github.com/users/resin-io/repos","events_url":"https://api.github.com/users/resin-io/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io/received_events","type":"Organization","site_admin":false},"repo":{"id":29731139,"name":"resin-cli-visuals","full_name":"resin-io/resin-cli-visuals","owner":{"login":"resin-io","id":6157842,"avatar_url":"https://avatars.githubusercontent.com/u/6157842?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io","html_url":"https://github.com/resin-io","followers_url":"https://api.github.com/users/resin-io/followers","following_url":"https://api.github.com/users/resin-io/following{/other_user}","gists_url":"https://api.github.com/users/resin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io/subscriptions","organizations_url":"https://api.github.com/users/resin-io/orgs","repos_url":"https://api.github.com/users/resin-io/repos","events_url":"https://api.github.com/users/resin-io/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-io/resin-cli-visuals","description":"Resin CLI UI widgets.","fork":false,"url":"https://api.github.com/repos/resin-io/resin-cli-visuals","forks_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/forks","keys_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/teams","hooks_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/hooks","issue_events_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/issues/events{/number}","events_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/events","assignees_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/assignees{/user}","branches_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/branches{/branch}","tags_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/tags","blobs_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/languages","stargazers_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/stargazers","contributors_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/contributors","subscribers_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/subscribers","subscription_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/subscription","commits_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/contents/{+path}","compare_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/merges","archive_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/downloads","issues_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/issues{/number}","pulls_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/labels{/name}","releases_url":"https://api.github.com/repos/resin-io/resin-cli-visuals/releases{/id}","created_at":"2015-01-23T12:12:15Z","updated_at":"2015-07-22T14:31:12Z","pushed_at":"2015-09-22T14:05:05Z","git_url":"git://github.com/resin-io/resin-cli-visuals.git","ssh_url":"git@github.com:resin-io/resin-cli-visuals.git","clone_url":"https://github.com/resin-io/resin-cli-visuals.git","svn_url":"https://github.com/resin-io/resin-cli-visuals","homepage":"","size":676,"stargazers_count":1,"watchers_count":1,"language":"CoffeeScript","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":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/resin-io/resin-cli-visuals/pulls/27"},"html":{"href":"https://github.com/resin-io/resin-cli-visuals/pull/27"},"issue":{"href":"https://api.github.com/repos/resin-io/resin-cli-visuals/issues/27"},"comments":{"href":"https://api.github.com/repos/resin-io/resin-cli-visuals/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/resin-io/resin-cli-visuals/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/resin-io/resin-cli-visuals/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/resin-io/resin-cli-visuals/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/resin-io/resin-cli-visuals/statuses/8cc129acd3bbf3a744f18867c5246cdbf44b811d"}}}}