{"action":"opened","number":45,"pull_request":{"url":"https://api.github.com/repos/AtomLinter/atom-linter/pulls/45","id":44364271,"html_url":"https://github.com/AtomLinter/atom-linter/pull/45","diff_url":"https://github.com/AtomLinter/atom-linter/pull/45.diff","patch_url":"https://github.com/AtomLinter/atom-linter/pull/45.patch","issue_url":"https://api.github.com/repos/AtomLinter/atom-linter/issues/45","number":45,"state":"open","locked":false,"title":"findFile: do not find files in the module dir","user":{"login":"simon04","id":782446,"avatar_url":"https://avatars.githubusercontent.com/u/782446?v=3","gravatar_id":"","url":"https://api.github.com/users/simon04","html_url":"https://github.com/simon04","followers_url":"https://api.github.com/users/simon04/followers","following_url":"https://api.github.com/users/simon04/following{/other_user}","gists_url":"https://api.github.com/users/simon04/gists{/gist_id}","starred_url":"https://api.github.com/users/simon04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon04/subscriptions","organizations_url":"https://api.github.com/users/simon04/orgs","repos_url":"https://api.github.com/users/simon04/repos","events_url":"https://api.github.com/users/simon04/events{/privacy}","received_events_url":"https://api.github.com/users/simon04/received_events","type":"User","site_admin":false},"body":"Calling `findFile('/a/path/that/does/not/exist', '.gitignore')` located\n`.gitignore` of the atom-linter module.\n\nThis happened since the first item of `startDir.split(path.sep)` is `\"\"`\nand `fs.accessSync('.gitignore', fs.R_OK)` yielded the file from the\nmodule.","created_at":"2015-09-07T15:13:54Z","updated_at":"2015-09-07T15:13:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"25e9e7a8fbe94f21156aadcd4da32c1028c1a174","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AtomLinter/atom-linter/pulls/45/commits","review_comments_url":"https://api.github.com/repos/AtomLinter/atom-linter/pulls/45/comments","review_comment_url":"https://api.github.com/repos/AtomLinter/atom-linter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AtomLinter/atom-linter/issues/45/comments","statuses_url":"https://api.github.com/repos/AtomLinter/atom-linter/statuses/faff2a61c04f667a86a2c409c10c27e7b7497215","head":{"label":"simon04:no-module-files","ref":"no-module-files","sha":"faff2a61c04f667a86a2c409c10c27e7b7497215","user":{"login":"simon04","id":782446,"avatar_url":"https://avatars.githubusercontent.com/u/782446?v=3","gravatar_id":"","url":"https://api.github.com/users/simon04","html_url":"https://github.com/simon04","followers_url":"https://api.github.com/users/simon04/followers","following_url":"https://api.github.com/users/simon04/following{/other_user}","gists_url":"https://api.github.com/users/simon04/gists{/gist_id}","starred_url":"https://api.github.com/users/simon04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon04/subscriptions","organizations_url":"https://api.github.com/users/simon04/orgs","repos_url":"https://api.github.com/users/simon04/repos","events_url":"https://api.github.com/users/simon04/events{/privacy}","received_events_url":"https://api.github.com/users/simon04/received_events","type":"User","site_admin":false},"repo":{"id":42059551,"name":"atom-linter","full_name":"simon04/atom-linter","owner":{"login":"simon04","id":782446,"avatar_url":"https://avatars.githubusercontent.com/u/782446?v=3","gravatar_id":"","url":"https://api.github.com/users/simon04","html_url":"https://github.com/simon04","followers_url":"https://api.github.com/users/simon04/followers","following_url":"https://api.github.com/users/simon04/following{/other_user}","gists_url":"https://api.github.com/users/simon04/gists{/gist_id}","starred_url":"https://api.github.com/users/simon04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simon04/subscriptions","organizations_url":"https://api.github.com/users/simon04/orgs","repos_url":"https://api.github.com/users/simon04/repos","events_url":"https://api.github.com/users/simon04/events{/privacy}","received_events_url":"https://api.github.com/users/simon04/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/simon04/atom-linter","description":"","fork":true,"url":"https://api.github.com/repos/simon04/atom-linter","forks_url":"https://api.github.com/repos/simon04/atom-linter/forks","keys_url":"https://api.github.com/repos/simon04/atom-linter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/simon04/atom-linter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/simon04/atom-linter/teams","hooks_url":"https://api.github.com/repos/simon04/atom-linter/hooks","issue_events_url":"https://api.github.com/repos/simon04/atom-linter/issues/events{/number}","events_url":"https://api.github.com/repos/simon04/atom-linter/events","assignees_url":"https://api.github.com/repos/simon04/atom-linter/assignees{/user}","branches_url":"https://api.github.com/repos/simon04/atom-linter/branches{/branch}","tags_url":"https://api.github.com/repos/simon04/atom-linter/tags","blobs_url":"https://api.github.com/repos/simon04/atom-linter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/simon04/atom-linter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/simon04/atom-linter/git/refs{/sha}","trees_url":"https://api.github.com/repos/simon04/atom-linter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/simon04/atom-linter/statuses/{sha}","languages_url":"https://api.github.com/repos/simon04/atom-linter/languages","stargazers_url":"https://api.github.com/repos/simon04/atom-linter/stargazers","contributors_url":"https://api.github.com/repos/simon04/atom-linter/contributors","subscribers_url":"https://api.github.com/repos/simon04/atom-linter/subscribers","subscription_url":"https://api.github.com/repos/simon04/atom-linter/subscription","commits_url":"https://api.github.com/repos/simon04/atom-linter/commits{/sha}","git_commits_url":"https://api.github.com/repos/simon04/atom-linter/git/commits{/sha}","comments_url":"https://api.github.com/repos/simon04/atom-linter/comments{/number}","issue_comment_url":"https://api.github.com/repos/simon04/atom-linter/issues/comments{/number}","contents_url":"https://api.github.com/repos/simon04/atom-linter/contents/{+path}","compare_url":"https://api.github.com/repos/simon04/atom-linter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/simon04/atom-linter/merges","archive_url":"https://api.github.com/repos/simon04/atom-linter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/simon04/atom-linter/downloads","issues_url":"https://api.github.com/repos/simon04/atom-linter/issues{/number}","pulls_url":"https://api.github.com/repos/simon04/atom-linter/pulls{/number}","milestones_url":"https://api.github.com/repos/simon04/atom-linter/milestones{/number}","notifications_url":"https://api.github.com/repos/simon04/atom-linter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/simon04/atom-linter/labels{/name}","releases_url":"https://api.github.com/repos/simon04/atom-linter/releases{/id}","created_at":"2015-09-07T15:09:59Z","updated_at":"2015-09-07T15:09:59Z","pushed_at":"2015-09-07T15:13:51Z","git_url":"git://github.com/simon04/atom-linter.git","ssh_url":"git@github.com:simon04/atom-linter.git","clone_url":"https://github.com/simon04/atom-linter.git","svn_url":"https://github.com/simon04/atom-linter","homepage":null,"size":413,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AtomLinter:master","ref":"master","sha":"bff4080aceaccf88ece05318057deb28bfe3d28f","user":{"login":"AtomLinter","id":7242824,"avatar_url":"https://avatars.githubusercontent.com/u/7242824?v=3","gravatar_id":"","url":"https://api.github.com/users/AtomLinter","html_url":"https://github.com/AtomLinter","followers_url":"https://api.github.com/users/AtomLinter/followers","following_url":"https://api.github.com/users/AtomLinter/following{/other_user}","gists_url":"https://api.github.com/users/AtomLinter/gists{/gist_id}","starred_url":"https://api.github.com/users/AtomLinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtomLinter/subscriptions","organizations_url":"https://api.github.com/users/AtomLinter/orgs","repos_url":"https://api.github.com/users/AtomLinter/repos","events_url":"https://api.github.com/users/AtomLinter/events{/privacy}","received_events_url":"https://api.github.com/users/AtomLinter/received_events","type":"Organization","site_admin":false},"repo":{"id":36517670,"name":"atom-linter","full_name":"AtomLinter/atom-linter","owner":{"login":"AtomLinter","id":7242824,"avatar_url":"https://avatars.githubusercontent.com/u/7242824?v=3","gravatar_id":"","url":"https://api.github.com/users/AtomLinter","html_url":"https://github.com/AtomLinter","followers_url":"https://api.github.com/users/AtomLinter/followers","following_url":"https://api.github.com/users/AtomLinter/following{/other_user}","gists_url":"https://api.github.com/users/AtomLinter/gists{/gist_id}","starred_url":"https://api.github.com/users/AtomLinter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AtomLinter/subscriptions","organizations_url":"https://api.github.com/users/AtomLinter/orgs","repos_url":"https://api.github.com/users/AtomLinter/repos","events_url":"https://api.github.com/users/AtomLinter/events{/privacy}","received_events_url":"https://api.github.com/users/AtomLinter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AtomLinter/atom-linter","description":"","fork":false,"url":"https://api.github.com/repos/AtomLinter/atom-linter","forks_url":"https://api.github.com/repos/AtomLinter/atom-linter/forks","keys_url":"https://api.github.com/repos/AtomLinter/atom-linter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AtomLinter/atom-linter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AtomLinter/atom-linter/teams","hooks_url":"https://api.github.com/repos/AtomLinter/atom-linter/hooks","issue_events_url":"https://api.github.com/repos/AtomLinter/atom-linter/issues/events{/number}","events_url":"https://api.github.com/repos/AtomLinter/atom-linter/events","assignees_url":"https://api.github.com/repos/AtomLinter/atom-linter/assignees{/user}","branches_url":"https://api.github.com/repos/AtomLinter/atom-linter/branches{/branch}","tags_url":"https://api.github.com/repos/AtomLinter/atom-linter/tags","blobs_url":"https://api.github.com/repos/AtomLinter/atom-linter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AtomLinter/atom-linter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AtomLinter/atom-linter/git/refs{/sha}","trees_url":"https://api.github.com/repos/AtomLinter/atom-linter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AtomLinter/atom-linter/statuses/{sha}","languages_url":"https://api.github.com/repos/AtomLinter/atom-linter/languages","stargazers_url":"https://api.github.com/repos/AtomLinter/atom-linter/stargazers","contributors_url":"https://api.github.com/repos/AtomLinter/atom-linter/contributors","subscribers_url":"https://api.github.com/repos/AtomLinter/atom-linter/subscribers","subscription_url":"https://api.github.com/repos/AtomLinter/atom-linter/subscription","commits_url":"https://api.github.com/repos/AtomLinter/atom-linter/commits{/sha}","git_commits_url":"https://api.github.com/repos/AtomLinter/atom-linter/git/commits{/sha}","comments_url":"https://api.github.com/repos/AtomLinter/atom-linter/comments{/number}","issue_comment_url":"https://api.github.com/repos/AtomLinter/atom-linter/issues/comments{/number}","contents_url":"https://api.github.com/repos/AtomLinter/atom-linter/contents/{+path}","compare_url":"https://api.github.com/repos/AtomLinter/atom-linter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AtomLinter/atom-linter/merges","archive_url":"https://api.github.com/repos/AtomLinter/atom-linter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AtomLinter/atom-linter/downloads","issues_url":"https://api.github.com/repos/AtomLinter/atom-linter/issues{/number}","pulls_url":"https://api.github.com/repos/AtomLinter/atom-linter/pulls{/number}","milestones_url":"https://api.github.com/repos/AtomLinter/atom-linter/milestones{/number}","notifications_url":"https://api.github.com/repos/AtomLinter/atom-linter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AtomLinter/atom-linter/labels{/name}","releases_url":"https://api.github.com/repos/AtomLinter/atom-linter/releases{/id}","created_at":"2015-05-29T17:02:53Z","updated_at":"2015-09-03T16:10:14Z","pushed_at":"2015-09-07T15:13:54Z","git_url":"git://github.com/AtomLinter/atom-linter.git","ssh_url":"git@github.com:AtomLinter/atom-linter.git","clone_url":"https://github.com/AtomLinter/atom-linter.git","svn_url":"https://github.com/AtomLinter/atom-linter","homepage":null,"size":413,"stargazers_count":6,"watchers_count":6,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":6,"forks":5,"open_issues":6,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AtomLinter/atom-linter/pulls/45"},"html":{"href":"https://github.com/AtomLinter/atom-linter/pull/45"},"issue":{"href":"https://api.github.com/repos/AtomLinter/atom-linter/issues/45"},"comments":{"href":"https://api.github.com/repos/AtomLinter/atom-linter/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/AtomLinter/atom-linter/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/AtomLinter/atom-linter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AtomLinter/atom-linter/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/AtomLinter/atom-linter/statuses/faff2a61c04f667a86a2c409c10c27e7b7497215"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":1,"changed_files":2}}