{"action":"created","comment":{"url":"https://api.github.com/repos/seyi-adeleke/Docman/pulls/comments/134109156","pull_request_review_id":57366398,"id":134109156,"diff_hunk":"@@ -0,0 +1,42 @@\n+'use strict';\n+\n+var _dotenv = require('dotenv');\n+\n+var _dotenv2 = _interopRequireDefault(_dotenv);\n+\n+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n+\n+var fs = require('fs');\n+var path = require('path');\n+var Sequelize = require('sequelize');\n+\n+var basename = path.basename(module.filename);","path":"build/models/index.js","position":13,"original_position":13,"commit_id":"098e0f1b7680f375ed2ba24e5e8a7ff45d47b9ee","original_commit_id":"098e0f1b7680f375ed2ba24e5e8a7ff45d47b9ee","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Unexpected var, use let or const instead                         no-var<br>All 'var' declarations must be at the top of the function scope  vars-on-top","created_at":"2017-08-20T08:09:22Z","updated_at":"2017-08-20T08:09:22Z","html_url":"https://github.com/seyi-adeleke/Docman/pull/35#discussion_r134109156","pull_request_url":"https://api.github.com/repos/seyi-adeleke/Docman/pulls/35","_links":{"self":{"href":"https://api.github.com/repos/seyi-adeleke/Docman/pulls/comments/134109156"},"html":{"href":"https://github.com/seyi-adeleke/Docman/pull/35#discussion_r134109156"},"pull_request":{"href":"https://api.github.com/repos/seyi-adeleke/Docman/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/seyi-adeleke/Docman/pulls/35","id":136634846,"html_url":"https://github.com/seyi-adeleke/Docman/pull/35","diff_url":"https://github.com/seyi-adeleke/Docman/pull/35.diff","patch_url":"https://github.com/seyi-adeleke/Docman/pull/35.patch","issue_url":"https://api.github.com/repos/seyi-adeleke/Docman/issues/35","number":35,"state":"open","locked":false,"title":"Feedback","user":{"login":"seyi-adeleke","id":7271210,"avatar_url":"https://avatars2.githubusercontent.com/u/7271210?v=4","gravatar_id":"","url":"https://api.github.com/users/seyi-adeleke","html_url":"https://github.com/seyi-adeleke","followers_url":"https://api.github.com/users/seyi-adeleke/followers","following_url":"https://api.github.com/users/seyi-adeleke/following{/other_user}","gists_url":"https://api.github.com/users/seyi-adeleke/gists{/gist_id}","starred_url":"https://api.github.com/users/seyi-adeleke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seyi-adeleke/subscriptions","organizations_url":"https://api.github.com/users/seyi-adeleke/orgs","repos_url":"https://api.github.com/users/seyi-adeleke/repos","events_url":"https://api.github.com/users/seyi-adeleke/events{/privacy}","received_events_url":"https://api.github.com/users/seyi-adeleke/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-08-20T08:08:54Z","updated_at":"2017-08-20T08:09:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6043fd19e7a6e628234a3ad1f39fc3a32a4384c9","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/seyi-adeleke/Docman/pulls/35/commits","review_comments_url":"https://api.github.com/repos/seyi-adeleke/Docman/pulls/35/comments","review_comment_url":"https://api.github.com/repos/seyi-adeleke/Docman/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seyi-adeleke/Docman/issues/35/comments","statuses_url":"https://api.github.com/repos/seyi-adeleke/Docman/statuses/098e0f1b7680f375ed2ba24e5e8a7ff45d47b9ee","head":{"label":"seyi-adeleke:feedback","ref":"feedback","sha":"098e0f1b7680f375ed2ba24e5e8a7ff45d47b9ee","user":{"login":"seyi-adeleke","id":7271210,"avatar_url":"https://avatars2.githubusercontent.com/u/7271210?v=4","gravatar_id":"","url":"https://api.github.com/users/seyi-adeleke","html_url":"https://github.com/seyi-adeleke","followers_url":"https://api.github.com/users/seyi-adeleke/followers","following_url":"https://api.github.com/users/seyi-adeleke/following{/other_user}","gists_url":"https://api.github.com/users/seyi-adeleke/gists{/gist_id}","starred_url":"https://api.github.com/users/seyi-adeleke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seyi-adeleke/subscriptions","organizations_url":"https://api.github.com/users/seyi-adeleke/orgs","repos_url":"https://api.github.com/users/seyi-adeleke/repos","events_url":"https://api.github.com/users/seyi-adeleke/events{/privacy}","received_events_url":"https://api.github.com/users/seyi-adeleke/received_events","type":"User","site_admin":false},"repo":{"id":97574081,"name":"Docman","full_name":"seyi-adeleke/Docman","owner":{"login":"seyi-adeleke","id":7271210,"avatar_url":"https://avatars2.githubusercontent.com/u/7271210?v=4","gravatar_id":"","url":"https://api.github.com/users/seyi-adeleke","html_url":"https://github.com/seyi-adeleke","followers_url":"https://api.github.com/users/seyi-adeleke/followers","following_url":"https://api.github.com/users/seyi-adeleke/following{/other_user}","gists_url":"https://api.github.com/users/seyi-adeleke/gists{/gist_id}","starred_url":"https://api.github.com/users/seyi-adeleke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seyi-adeleke/subscriptions","organizations_url":"https://api.github.com/users/seyi-adeleke/orgs","repos_url":"https://api.github.com/users/seyi-adeleke/repos","events_url":"https://api.github.com/users/seyi-adeleke/events{/privacy}","received_events_url":"https://api.github.com/users/seyi-adeleke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seyi-adeleke/Docman","description":"A document management system ","fork":false,"url":"https://api.github.com/repos/seyi-adeleke/Docman","forks_url":"https://api.github.com/repos/seyi-adeleke/Docman/forks","keys_url":"https://api.github.com/repos/seyi-adeleke/Docman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seyi-adeleke/Docman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seyi-adeleke/Docman/teams","hooks_url":"https://api.github.com/repos/seyi-adeleke/Docman/hooks","issue_events_url":"https://api.github.com/repos/seyi-adeleke/Docman/issues/events{/number}","events_url":"https://api.github.com/repos/seyi-adeleke/Docman/events","assignees_url":"https://api.github.com/repos/seyi-adeleke/Docman/assignees{/user}","branches_url":"https://api.github.com/repos/seyi-adeleke/Docman/branches{/branch}","tags_url":"https://api.github.com/repos/seyi-adeleke/Docman/tags","blobs_url":"https://api.github.com/repos/seyi-adeleke/Docman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seyi-adeleke/Docman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seyi-adeleke/Docman/git/refs{/sha}","trees_url":"https://api.github.com/repos/seyi-adeleke/Docman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seyi-adeleke/Docman/statuses/{sha}","languages_url":"https://api.github.com/repos/seyi-adeleke/Docman/languages","stargazers_url":"https://api.github.com/repos/seyi-adeleke/Docman/stargazers","contributors_url":"https://api.github.com/repos/seyi-adeleke/Docman/contributors","subscribers_url":"https://api.github.com/repos/seyi-adeleke/Docman/subscribers","subscription_url":"https://api.github.com/repos/seyi-adeleke/Docman/subscription","commits_url":"https://api.github.com/repos/seyi-adeleke/Docman/commits{/sha}","git_commits_url":"https://api.github.com/repos/seyi-adeleke/Docman/git/commits{/sha}","comments_url":"https://api.github.com/repos/seyi-adeleke/Docman/comments{/number}","issue_comment_url":"https://api.github.com/repos/seyi-adeleke/Docman/issues/comments{/number}","contents_url":"https://api.github.com/repos/seyi-adeleke/Docman/contents/{+path}","compare_url":"https://api.github.com/repos/seyi-adeleke/Docman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seyi-adeleke/Docman/merges","archive_url":"https://api.github.com/repos/seyi-adeleke/Docman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seyi-adeleke/Docman/downloads","issues_url":"https://api.github.com/repos/seyi-adeleke/Docman/issues{/number}","pulls_url":"https://api.github.com/repos/seyi-adeleke/Docman/pulls{/number}","milestones_url":"https://api.github.com/repos/seyi-adeleke/Docman/milestones{/number}","notifications_url":"https://api.github.com/repos/seyi-adeleke/Docman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seyi-adeleke/Docman/labels{/name}","releases_url":"https://api.github.com/repos/seyi-adeleke/Docman/releases{/id}","deployments_url":"https://api.github.com/repos/seyi-adeleke/Docman/deployments","created_at":"2017-07-18T08:31:31Z","updated_at":"2017-08-09T09:07:31Z","pushed_at":"2017-08-20T08:08:55Z","git_url":"git://github.com/seyi-adeleke/Docman.git","ssh_url":"git@github.com:seyi-adeleke/Docman.git","clone_url":"https://github.com/seyi-adeleke/Docman.git","svn_url":"https://github.com/seyi-adeleke/Docman","homepage":"https://docman-cp2-staging.herokuapp.com","size":209,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":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":"seyi-adeleke:master","ref":"master","sha":"256de8ec785624804aa94aea55779c2da593c17f","user":{"login":"seyi-adeleke","id":7271210,"avatar_url":"https://avatars2.githubusercontent.com/u/7271210?v=4","gravatar_id":"","url":"https://api.github.com/users/seyi-adeleke","html_url":"https://github.com/seyi-adeleke","followers_url":"https://api.github.com/users/seyi-adeleke/followers","following_url":"https://api.github.com/users/seyi-adeleke/following{/other_user}","gists_url":"https://api.github.com/users/seyi-adeleke/gists{/gist_id}","starred_url":"https://api.github.com/users/seyi-adeleke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seyi-adeleke/subscriptions","organizations_url":"https://api.github.com/users/seyi-adeleke/orgs","repos_url":"https://api.github.com/users/seyi-adeleke/repos","events_url":"https://api.github.com/users/seyi-adeleke/events{/privacy}","received_events_url":"https://api.github.com/users/seyi-adeleke/received_events","type":"User","site_admin":false},"repo":{"id":97574081,"name":"Docman","full_name":"seyi-adeleke/Docman","owner":{"login":"seyi-adeleke","id":7271210,"avatar_url":"https://avatars2.githubusercontent.com/u/7271210?v=4","gravatar_id":"","url":"https://api.github.com/users/seyi-adeleke","html_url":"https://github.com/seyi-adeleke","followers_url":"https://api.github.com/users/seyi-adeleke/followers","following_url":"https://api.github.com/users/seyi-adeleke/following{/other_user}","gists_url":"https://api.github.com/users/seyi-adeleke/gists{/gist_id}","starred_url":"https://api.github.com/users/seyi-adeleke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seyi-adeleke/subscriptions","organizations_url":"https://api.github.com/users/seyi-adeleke/orgs","repos_url":"https://api.github.com/users/seyi-adeleke/repos","events_url":"https://api.github.com/users/seyi-adeleke/events{/privacy}","received_events_url":"https://api.github.com/users/seyi-adeleke/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seyi-adeleke/Docman","description":"A document management system ","fork":false,"url":"https://api.github.com/repos/seyi-adeleke/Docman","forks_url":"https://api.github.com/repos/seyi-adeleke/Docman/forks","keys_url":"https://api.github.com/repos/seyi-adeleke/Docman/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seyi-adeleke/Docman/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seyi-adeleke/Docman/teams","hooks_url":"https://api.github.com/repos/seyi-adeleke/Docman/hooks","issue_events_url":"https://api.github.com/repos/seyi-adeleke/Docman/issues/events{/number}","events_url":"https://api.github.com/repos/seyi-adeleke/Docman/events","assignees_url":"https://api.github.com/repos/seyi-adeleke/Docman/assignees{/user}","branches_url":"https://api.github.com/repos/seyi-adeleke/Docman/branches{/branch}","tags_url":"https://api.github.com/repos/seyi-adeleke/Docman/tags","blobs_url":"https://api.github.com/repos/seyi-adeleke/Docman/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seyi-adeleke/Docman/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seyi-adeleke/Docman/git/refs{/sha}","trees_url":"https://api.github.com/repos/seyi-adeleke/Docman/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seyi-adeleke/Docman/statuses/{sha}","languages_url":"https://api.github.com/repos/seyi-adeleke/Docman/languages","stargazers_url":"https://api.github.com/repos/seyi-adeleke/Docman/stargazers","contributors_url":"https://api.github.com/repos/seyi-adeleke/Docman/contributors","subscribers_url":"https://api.github.com/repos/seyi-adeleke/Docman/subscribers","subscription_url":"https://api.github.com/repos/seyi-adeleke/Docman/subscription","commits_url":"https://api.github.com/repos/seyi-adeleke/Docman/commits{/sha}","git_commits_url":"https://api.github.com/repos/seyi-adeleke/Docman/git/commits{/sha}","comments_url":"https://api.github.com/repos/seyi-adeleke/Docman/comments{/number}","issue_comment_url":"https://api.github.com/repos/seyi-adeleke/Docman/issues/comments{/number}","contents_url":"https://api.github.com/repos/seyi-adeleke/Docman/contents/{+path}","compare_url":"https://api.github.com/repos/seyi-adeleke/Docman/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seyi-adeleke/Docman/merges","archive_url":"https://api.github.com/repos/seyi-adeleke/Docman/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seyi-adeleke/Docman/downloads","issues_url":"https://api.github.com/repos/seyi-adeleke/Docman/issues{/number}","pulls_url":"https://api.github.com/repos/seyi-adeleke/Docman/pulls{/number}","milestones_url":"https://api.github.com/repos/seyi-adeleke/Docman/milestones{/number}","notifications_url":"https://api.github.com/repos/seyi-adeleke/Docman/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seyi-adeleke/Docman/labels{/name}","releases_url":"https://api.github.com/repos/seyi-adeleke/Docman/releases{/id}","deployments_url":"https://api.github.com/repos/seyi-adeleke/Docman/deployments","created_at":"2017-07-18T08:31:31Z","updated_at":"2017-08-09T09:07:31Z","pushed_at":"2017-08-20T08:08:55Z","git_url":"git://github.com/seyi-adeleke/Docman.git","ssh_url":"git@github.com:seyi-adeleke/Docman.git","clone_url":"https://github.com/seyi-adeleke/Docman.git","svn_url":"https://github.com/seyi-adeleke/Docman","homepage":"https://docman-cp2-staging.herokuapp.com","size":209,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":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/seyi-adeleke/Docman/pulls/35"},"html":{"href":"https://github.com/seyi-adeleke/Docman/pull/35"},"issue":{"href":"https://api.github.com/repos/seyi-adeleke/Docman/issues/35"},"comments":{"href":"https://api.github.com/repos/seyi-adeleke/Docman/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/seyi-adeleke/Docman/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/seyi-adeleke/Docman/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seyi-adeleke/Docman/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/seyi-adeleke/Docman/statuses/098e0f1b7680f375ed2ba24e5e8a7ff45d47b9ee"}}}}
{"actor":{"display_login":"houndci-bot"}}