{"action":"created","comment":{"url":"https://api.github.com/repos/lagerjs/lager/pulls/comments/67463362","id":67463362,"diff_hunk":"@@ -1,55 +1,47 @@\n 'use strict';\n \n const path = require('path');\n+\n+// Nice ES6 syntax\n+// const { Promise, _, icli } = require('@lager/lager/lib/lager').import;\n const lager = require('@lager/lager/lib/lager');\n-const Promise = lager.getPromise();\n+const Promise = lager.import.Promise;\n+const _ = lager.import._;","path":"src/plugins/iam/cli/create-role.js","position":10,"original_position":10,"commit_id":"5b30cdf21ce2e397c2546c0cb20aa1c433e8d816","original_commit_id":"5b30cdf21ce2e397c2546c0cb20aa1c433e8d816","user":{"login":"AlexisNo","id":733191,"avatar_url":"https://avatars.githubusercontent.com/u/733191?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexisNo","html_url":"https://github.com/AlexisNo","followers_url":"https://api.github.com/users/AlexisNo/followers","following_url":"https://api.github.com/users/AlexisNo/following{/other_user}","gists_url":"https://api.github.com/users/AlexisNo/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisNo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisNo/subscriptions","organizations_url":"https://api.github.com/users/AlexisNo/orgs","repos_url":"https://api.github.com/users/AlexisNo/repos","events_url":"https://api.github.com/users/AlexisNo/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisNo/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [\"_\" is defined but never used](https://www.codacy.com/app/lager/lager/file/2780163943/issues/source?bid=3360491&fileBranchId=3365294#l9)","created_at":"2016-06-17T05:52:07Z","updated_at":"2016-06-17T05:52:07Z","html_url":"https://github.com/lagerjs/lager/pull/5#discussion_r67463362","pull_request_url":"https://api.github.com/repos/lagerjs/lager/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/lagerjs/lager/pulls/comments/67463362"},"html":{"href":"https://github.com/lagerjs/lager/pull/5#discussion_r67463362"},"pull_request":{"href":"https://api.github.com/repos/lagerjs/lager/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/lagerjs/lager/pulls/5","id":74191883,"html_url":"https://github.com/lagerjs/lager/pull/5","diff_url":"https://github.com/lagerjs/lager/pull/5.diff","patch_url":"https://github.com/lagerjs/lager/pull/5.patch","issue_url":"https://api.github.com/repos/lagerjs/lager/issues/5","number":5,"state":"open","locked":false,"title":"Finish refacto cli","user":{"login":"AlexisNo","id":733191,"avatar_url":"https://avatars.githubusercontent.com/u/733191?v=3","gravatar_id":"","url":"https://api.github.com/users/AlexisNo","html_url":"https://github.com/AlexisNo","followers_url":"https://api.github.com/users/AlexisNo/followers","following_url":"https://api.github.com/users/AlexisNo/following{/other_user}","gists_url":"https://api.github.com/users/AlexisNo/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexisNo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexisNo/subscriptions","organizations_url":"https://api.github.com/users/AlexisNo/orgs","repos_url":"https://api.github.com/users/AlexisNo/repos","events_url":"https://api.github.com/users/AlexisNo/events{/privacy}","received_events_url":"https://api.github.com/users/AlexisNo/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-17T05:50:25Z","updated_at":"2016-06-17T05:52:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42756e189da9a8800235e67bd928eaf69ff19fde","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lagerjs/lager/pulls/5/commits","review_comments_url":"https://api.github.com/repos/lagerjs/lager/pulls/5/comments","review_comment_url":"https://api.github.com/repos/lagerjs/lager/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lagerjs/lager/issues/5/comments","statuses_url":"https://api.github.com/repos/lagerjs/lager/statuses/5b30cdf21ce2e397c2546c0cb20aa1c433e8d816","head":{"label":"lagerjs:refacto-cli","ref":"refacto-cli","sha":"5b30cdf21ce2e397c2546c0cb20aa1c433e8d816","user":{"login":"lagerjs","id":18451335,"avatar_url":"https://avatars.githubusercontent.com/u/18451335?v=3","gravatar_id":"","url":"https://api.github.com/users/lagerjs","html_url":"https://github.com/lagerjs","followers_url":"https://api.github.com/users/lagerjs/followers","following_url":"https://api.github.com/users/lagerjs/following{/other_user}","gists_url":"https://api.github.com/users/lagerjs/gists{/gist_id}","starred_url":"https://api.github.com/users/lagerjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lagerjs/subscriptions","organizations_url":"https://api.github.com/users/lagerjs/orgs","repos_url":"https://api.github.com/users/lagerjs/repos","events_url":"https://api.github.com/users/lagerjs/events{/privacy}","received_events_url":"https://api.github.com/users/lagerjs/received_events","type":"Organization","site_admin":false},"repo":{"id":60742441,"name":"lager","full_name":"lagerjs/lager","owner":{"login":"lagerjs","id":18451335,"avatar_url":"https://avatars.githubusercontent.com/u/18451335?v=3","gravatar_id":"","url":"https://api.github.com/users/lagerjs","html_url":"https://github.com/lagerjs","followers_url":"https://api.github.com/users/lagerjs/followers","following_url":"https://api.github.com/users/lagerjs/following{/other_user}","gists_url":"https://api.github.com/users/lagerjs/gists{/gist_id}","starred_url":"https://api.github.com/users/lagerjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lagerjs/subscriptions","organizations_url":"https://api.github.com/users/lagerjs/orgs","repos_url":"https://api.github.com/users/lagerjs/repos","events_url":"https://api.github.com/users/lagerjs/events{/privacy}","received_events_url":"https://api.github.com/users/lagerjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lagerjs/lager","description":"Lambda / API Gateway Endpoints Router","fork":false,"url":"https://api.github.com/repos/lagerjs/lager","forks_url":"https://api.github.com/repos/lagerjs/lager/forks","keys_url":"https://api.github.com/repos/lagerjs/lager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lagerjs/lager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lagerjs/lager/teams","hooks_url":"https://api.github.com/repos/lagerjs/lager/hooks","issue_events_url":"https://api.github.com/repos/lagerjs/lager/issues/events{/number}","events_url":"https://api.github.com/repos/lagerjs/lager/events","assignees_url":"https://api.github.com/repos/lagerjs/lager/assignees{/user}","branches_url":"https://api.github.com/repos/lagerjs/lager/branches{/branch}","tags_url":"https://api.github.com/repos/lagerjs/lager/tags","blobs_url":"https://api.github.com/repos/lagerjs/lager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lagerjs/lager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lagerjs/lager/git/refs{/sha}","trees_url":"https://api.github.com/repos/lagerjs/lager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lagerjs/lager/statuses/{sha}","languages_url":"https://api.github.com/repos/lagerjs/lager/languages","stargazers_url":"https://api.github.com/repos/lagerjs/lager/stargazers","contributors_url":"https://api.github.com/repos/lagerjs/lager/contributors","subscribers_url":"https://api.github.com/repos/lagerjs/lager/subscribers","subscription_url":"https://api.github.com/repos/lagerjs/lager/subscription","commits_url":"https://api.github.com/repos/lagerjs/lager/commits{/sha}","git_commits_url":"https://api.github.com/repos/lagerjs/lager/git/commits{/sha}","comments_url":"https://api.github.com/repos/lagerjs/lager/comments{/number}","issue_comment_url":"https://api.github.com/repos/lagerjs/lager/issues/comments{/number}","contents_url":"https://api.github.com/repos/lagerjs/lager/contents/{+path}","compare_url":"https://api.github.com/repos/lagerjs/lager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lagerjs/lager/merges","archive_url":"https://api.github.com/repos/lagerjs/lager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lagerjs/lager/downloads","issues_url":"https://api.github.com/repos/lagerjs/lager/issues{/number}","pulls_url":"https://api.github.com/repos/lagerjs/lager/pulls{/number}","milestones_url":"https://api.github.com/repos/lagerjs/lager/milestones{/number}","notifications_url":"https://api.github.com/repos/lagerjs/lager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lagerjs/lager/labels{/name}","releases_url":"https://api.github.com/repos/lagerjs/lager/releases{/id}","deployments_url":"https://api.github.com/repos/lagerjs/lager/deployments","created_at":"2016-06-09T01:34:33Z","updated_at":"2016-06-16T21:38:06Z","pushed_at":"2016-06-17T05:50:25Z","git_url":"git://github.com/lagerjs/lager.git","ssh_url":"git@github.com:lagerjs/lager.git","clone_url":"https://github.com/lagerjs/lager.git","svn_url":"https://github.com/lagerjs/lager","homepage":null,"size":247,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"dev"}},"base":{"label":"lagerjs:dev","ref":"dev","sha":"314a7f27981e6b533768d7169f0748702e7c58e5","user":{"login":"lagerjs","id":18451335,"avatar_url":"https://avatars.githubusercontent.com/u/18451335?v=3","gravatar_id":"","url":"https://api.github.com/users/lagerjs","html_url":"https://github.com/lagerjs","followers_url":"https://api.github.com/users/lagerjs/followers","following_url":"https://api.github.com/users/lagerjs/following{/other_user}","gists_url":"https://api.github.com/users/lagerjs/gists{/gist_id}","starred_url":"https://api.github.com/users/lagerjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lagerjs/subscriptions","organizations_url":"https://api.github.com/users/lagerjs/orgs","repos_url":"https://api.github.com/users/lagerjs/repos","events_url":"https://api.github.com/users/lagerjs/events{/privacy}","received_events_url":"https://api.github.com/users/lagerjs/received_events","type":"Organization","site_admin":false},"repo":{"id":60742441,"name":"lager","full_name":"lagerjs/lager","owner":{"login":"lagerjs","id":18451335,"avatar_url":"https://avatars.githubusercontent.com/u/18451335?v=3","gravatar_id":"","url":"https://api.github.com/users/lagerjs","html_url":"https://github.com/lagerjs","followers_url":"https://api.github.com/users/lagerjs/followers","following_url":"https://api.github.com/users/lagerjs/following{/other_user}","gists_url":"https://api.github.com/users/lagerjs/gists{/gist_id}","starred_url":"https://api.github.com/users/lagerjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lagerjs/subscriptions","organizations_url":"https://api.github.com/users/lagerjs/orgs","repos_url":"https://api.github.com/users/lagerjs/repos","events_url":"https://api.github.com/users/lagerjs/events{/privacy}","received_events_url":"https://api.github.com/users/lagerjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lagerjs/lager","description":"Lambda / API Gateway Endpoints Router","fork":false,"url":"https://api.github.com/repos/lagerjs/lager","forks_url":"https://api.github.com/repos/lagerjs/lager/forks","keys_url":"https://api.github.com/repos/lagerjs/lager/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lagerjs/lager/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lagerjs/lager/teams","hooks_url":"https://api.github.com/repos/lagerjs/lager/hooks","issue_events_url":"https://api.github.com/repos/lagerjs/lager/issues/events{/number}","events_url":"https://api.github.com/repos/lagerjs/lager/events","assignees_url":"https://api.github.com/repos/lagerjs/lager/assignees{/user}","branches_url":"https://api.github.com/repos/lagerjs/lager/branches{/branch}","tags_url":"https://api.github.com/repos/lagerjs/lager/tags","blobs_url":"https://api.github.com/repos/lagerjs/lager/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lagerjs/lager/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lagerjs/lager/git/refs{/sha}","trees_url":"https://api.github.com/repos/lagerjs/lager/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lagerjs/lager/statuses/{sha}","languages_url":"https://api.github.com/repos/lagerjs/lager/languages","stargazers_url":"https://api.github.com/repos/lagerjs/lager/stargazers","contributors_url":"https://api.github.com/repos/lagerjs/lager/contributors","subscribers_url":"https://api.github.com/repos/lagerjs/lager/subscribers","subscription_url":"https://api.github.com/repos/lagerjs/lager/subscription","commits_url":"https://api.github.com/repos/lagerjs/lager/commits{/sha}","git_commits_url":"https://api.github.com/repos/lagerjs/lager/git/commits{/sha}","comments_url":"https://api.github.com/repos/lagerjs/lager/comments{/number}","issue_comment_url":"https://api.github.com/repos/lagerjs/lager/issues/comments{/number}","contents_url":"https://api.github.com/repos/lagerjs/lager/contents/{+path}","compare_url":"https://api.github.com/repos/lagerjs/lager/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lagerjs/lager/merges","archive_url":"https://api.github.com/repos/lagerjs/lager/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lagerjs/lager/downloads","issues_url":"https://api.github.com/repos/lagerjs/lager/issues{/number}","pulls_url":"https://api.github.com/repos/lagerjs/lager/pulls{/number}","milestones_url":"https://api.github.com/repos/lagerjs/lager/milestones{/number}","notifications_url":"https://api.github.com/repos/lagerjs/lager/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lagerjs/lager/labels{/name}","releases_url":"https://api.github.com/repos/lagerjs/lager/releases{/id}","deployments_url":"https://api.github.com/repos/lagerjs/lager/deployments","created_at":"2016-06-09T01:34:33Z","updated_at":"2016-06-16T21:38:06Z","pushed_at":"2016-06-17T05:50:25Z","git_url":"git://github.com/lagerjs/lager.git","ssh_url":"git@github.com:lagerjs/lager.git","clone_url":"https://github.com/lagerjs/lager.git","svn_url":"https://github.com/lagerjs/lager","homepage":null,"size":247,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":2,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/lagerjs/lager/pulls/5"},"html":{"href":"https://github.com/lagerjs/lager/pull/5"},"issue":{"href":"https://api.github.com/repos/lagerjs/lager/issues/5"},"comments":{"href":"https://api.github.com/repos/lagerjs/lager/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/lagerjs/lager/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/lagerjs/lager/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lagerjs/lager/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/lagerjs/lager/statuses/5b30cdf21ce2e397c2546c0cb20aa1c433e8d816"}}}}
{"actor":{"display_login":"AlexisNo"}}