{"action":"closed","number":506,"pull_request":{"url":"https://api.github.com/repos/marijnh/tern/pulls/506","id":31180540,"html_url":"https://github.com/marijnh/tern/pull/506","diff_url":"https://github.com/marijnh/tern/pull/506.diff","patch_url":"https://github.com/marijnh/tern/pull/506.patch","issue_url":"https://api.github.com/repos/marijnh/tern/issues/506","number":506,"state":"closed","locked":false,"title":"Always glob in the root of the project","user":{"login":"Slava","id":2608446,"avatar_url":"https://avatars.githubusercontent.com/u/2608446?v=3","gravatar_id":"","url":"https://api.github.com/users/Slava","html_url":"https://github.com/Slava","followers_url":"https://api.github.com/users/Slava/followers","following_url":"https://api.github.com/users/Slava/following{/other_user}","gists_url":"https://api.github.com/users/Slava/gists{/gist_id}","starred_url":"https://api.github.com/users/Slava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slava/subscriptions","organizations_url":"https://api.github.com/users/Slava/orgs","repos_url":"https://api.github.com/users/Slava/repos","events_url":"https://api.github.com/users/Slava/events{/privacy}","received_events_url":"https://api.github.com/users/Slava/received_events","type":"User","site_admin":false},"body":"`glob.sync` defaults its search to the current working directory. When used from the Sublime Text 3 plugin, the current working directory becomes the path of the first opened file. This is incorrect, the `loadEagerly` property is intended to load files relative to the root (or `.tern-project` file).","created_at":"2015-03-14T08:49:05Z","updated_at":"2015-03-14T10:15:08Z","closed_at":"2015-03-14T10:15:08Z","merged_at":null,"merge_commit_sha":"89d3a3be6adaad43660172825546f4c09d708c2c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/marijnh/tern/pulls/506/commits","review_comments_url":"https://api.github.com/repos/marijnh/tern/pulls/506/comments","review_comment_url":"https://api.github.com/repos/marijnh/tern/pulls/comments{/number}","comments_url":"https://api.github.com/repos/marijnh/tern/issues/506/comments","statuses_url":"https://api.github.com/repos/marijnh/tern/statuses/6e99720b1ac324ac5c1c099039a2ca0ad3ff7aee","head":{"label":"Slava:patch-1","ref":"patch-1","sha":"6e99720b1ac324ac5c1c099039a2ca0ad3ff7aee","user":{"login":"Slava","id":2608446,"avatar_url":"https://avatars.githubusercontent.com/u/2608446?v=3","gravatar_id":"","url":"https://api.github.com/users/Slava","html_url":"https://github.com/Slava","followers_url":"https://api.github.com/users/Slava/followers","following_url":"https://api.github.com/users/Slava/following{/other_user}","gists_url":"https://api.github.com/users/Slava/gists{/gist_id}","starred_url":"https://api.github.com/users/Slava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slava/subscriptions","organizations_url":"https://api.github.com/users/Slava/orgs","repos_url":"https://api.github.com/users/Slava/repos","events_url":"https://api.github.com/users/Slava/events{/privacy}","received_events_url":"https://api.github.com/users/Slava/received_events","type":"User","site_admin":false},"repo":{"id":32202963,"name":"tern","full_name":"Slava/tern","owner":{"login":"Slava","id":2608446,"avatar_url":"https://avatars.githubusercontent.com/u/2608446?v=3","gravatar_id":"","url":"https://api.github.com/users/Slava","html_url":"https://github.com/Slava","followers_url":"https://api.github.com/users/Slava/followers","following_url":"https://api.github.com/users/Slava/following{/other_user}","gists_url":"https://api.github.com/users/Slava/gists{/gist_id}","starred_url":"https://api.github.com/users/Slava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Slava/subscriptions","organizations_url":"https://api.github.com/users/Slava/orgs","repos_url":"https://api.github.com/users/Slava/repos","events_url":"https://api.github.com/users/Slava/events{/privacy}","received_events_url":"https://api.github.com/users/Slava/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Slava/tern","description":"A JavaScript code analyzer for deep, cross-editor language support","fork":true,"url":"https://api.github.com/repos/Slava/tern","forks_url":"https://api.github.com/repos/Slava/tern/forks","keys_url":"https://api.github.com/repos/Slava/tern/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Slava/tern/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Slava/tern/teams","hooks_url":"https://api.github.com/repos/Slava/tern/hooks","issue_events_url":"https://api.github.com/repos/Slava/tern/issues/events{/number}","events_url":"https://api.github.com/repos/Slava/tern/events","assignees_url":"https://api.github.com/repos/Slava/tern/assignees{/user}","branches_url":"https://api.github.com/repos/Slava/tern/branches{/branch}","tags_url":"https://api.github.com/repos/Slava/tern/tags","blobs_url":"https://api.github.com/repos/Slava/tern/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Slava/tern/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Slava/tern/git/refs{/sha}","trees_url":"https://api.github.com/repos/Slava/tern/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Slava/tern/statuses/{sha}","languages_url":"https://api.github.com/repos/Slava/tern/languages","stargazers_url":"https://api.github.com/repos/Slava/tern/stargazers","contributors_url":"https://api.github.com/repos/Slava/tern/contributors","subscribers_url":"https://api.github.com/repos/Slava/tern/subscribers","subscription_url":"https://api.github.com/repos/Slava/tern/subscription","commits_url":"https://api.github.com/repos/Slava/tern/commits{/sha}","git_commits_url":"https://api.github.com/repos/Slava/tern/git/commits{/sha}","comments_url":"https://api.github.com/repos/Slava/tern/comments{/number}","issue_comment_url":"https://api.github.com/repos/Slava/tern/issues/comments{/number}","contents_url":"https://api.github.com/repos/Slava/tern/contents/{+path}","compare_url":"https://api.github.com/repos/Slava/tern/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Slava/tern/merges","archive_url":"https://api.github.com/repos/Slava/tern/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Slava/tern/downloads","issues_url":"https://api.github.com/repos/Slava/tern/issues{/number}","pulls_url":"https://api.github.com/repos/Slava/tern/pulls{/number}","milestones_url":"https://api.github.com/repos/Slava/tern/milestones{/number}","notifications_url":"https://api.github.com/repos/Slava/tern/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Slava/tern/labels{/name}","releases_url":"https://api.github.com/repos/Slava/tern/releases{/id}","created_at":"2015-03-14T08:47:04Z","updated_at":"2015-03-14T08:47:04Z","pushed_at":"2015-03-14T08:48:59Z","git_url":"git://github.com/Slava/tern.git","ssh_url":"git@github.com:Slava/tern.git","clone_url":"https://github.com/Slava/tern.git","svn_url":"https://github.com/Slava/tern","homepage":null,"size":5370,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"marijnh:master","ref":"master","sha":"6c6ddc76383a33d7bffc607073e40777c482af17","user":{"login":"marijnh","id":144427,"avatar_url":"https://avatars.githubusercontent.com/u/144427?v=3","gravatar_id":"","url":"https://api.github.com/users/marijnh","html_url":"https://github.com/marijnh","followers_url":"https://api.github.com/users/marijnh/followers","following_url":"https://api.github.com/users/marijnh/following{/other_user}","gists_url":"https://api.github.com/users/marijnh/gists{/gist_id}","starred_url":"https://api.github.com/users/marijnh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijnh/subscriptions","organizations_url":"https://api.github.com/users/marijnh/orgs","repos_url":"https://api.github.com/users/marijnh/repos","events_url":"https://api.github.com/users/marijnh/events{/privacy}","received_events_url":"https://api.github.com/users/marijnh/received_events","type":"User","site_admin":false},"repo":{"id":8635901,"name":"tern","full_name":"marijnh/tern","owner":{"login":"marijnh","id":144427,"avatar_url":"https://avatars.githubusercontent.com/u/144427?v=3","gravatar_id":"","url":"https://api.github.com/users/marijnh","html_url":"https://github.com/marijnh","followers_url":"https://api.github.com/users/marijnh/followers","following_url":"https://api.github.com/users/marijnh/following{/other_user}","gists_url":"https://api.github.com/users/marijnh/gists{/gist_id}","starred_url":"https://api.github.com/users/marijnh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijnh/subscriptions","organizations_url":"https://api.github.com/users/marijnh/orgs","repos_url":"https://api.github.com/users/marijnh/repos","events_url":"https://api.github.com/users/marijnh/events{/privacy}","received_events_url":"https://api.github.com/users/marijnh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/marijnh/tern","description":"A JavaScript code analyzer for deep, cross-editor language support","fork":false,"url":"https://api.github.com/repos/marijnh/tern","forks_url":"https://api.github.com/repos/marijnh/tern/forks","keys_url":"https://api.github.com/repos/marijnh/tern/keys{/key_id}","collaborators_url":"https://api.github.com/repos/marijnh/tern/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/marijnh/tern/teams","hooks_url":"https://api.github.com/repos/marijnh/tern/hooks","issue_events_url":"https://api.github.com/repos/marijnh/tern/issues/events{/number}","events_url":"https://api.github.com/repos/marijnh/tern/events","assignees_url":"https://api.github.com/repos/marijnh/tern/assignees{/user}","branches_url":"https://api.github.com/repos/marijnh/tern/branches{/branch}","tags_url":"https://api.github.com/repos/marijnh/tern/tags","blobs_url":"https://api.github.com/repos/marijnh/tern/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/marijnh/tern/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/marijnh/tern/git/refs{/sha}","trees_url":"https://api.github.com/repos/marijnh/tern/git/trees{/sha}","statuses_url":"https://api.github.com/repos/marijnh/tern/statuses/{sha}","languages_url":"https://api.github.com/repos/marijnh/tern/languages","stargazers_url":"https://api.github.com/repos/marijnh/tern/stargazers","contributors_url":"https://api.github.com/repos/marijnh/tern/contributors","subscribers_url":"https://api.github.com/repos/marijnh/tern/subscribers","subscription_url":"https://api.github.com/repos/marijnh/tern/subscription","commits_url":"https://api.github.com/repos/marijnh/tern/commits{/sha}","git_commits_url":"https://api.github.com/repos/marijnh/tern/git/commits{/sha}","comments_url":"https://api.github.com/repos/marijnh/tern/comments{/number}","issue_comment_url":"https://api.github.com/repos/marijnh/tern/issues/comments{/number}","contents_url":"https://api.github.com/repos/marijnh/tern/contents/{+path}","compare_url":"https://api.github.com/repos/marijnh/tern/compare/{base}...{head}","merges_url":"https://api.github.com/repos/marijnh/tern/merges","archive_url":"https://api.github.com/repos/marijnh/tern/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/marijnh/tern/downloads","issues_url":"https://api.github.com/repos/marijnh/tern/issues{/number}","pulls_url":"https://api.github.com/repos/marijnh/tern/pulls{/number}","milestones_url":"https://api.github.com/repos/marijnh/tern/milestones{/number}","notifications_url":"https://api.github.com/repos/marijnh/tern/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/marijnh/tern/labels{/name}","releases_url":"https://api.github.com/repos/marijnh/tern/releases{/id}","created_at":"2013-03-07T20:29:52Z","updated_at":"2015-03-14T10:14:50Z","pushed_at":"2015-03-14T10:14:48Z","git_url":"git://github.com/marijnh/tern.git","ssh_url":"git@github.com:marijnh/tern.git","clone_url":"https://github.com/marijnh/tern.git","svn_url":"https://github.com/marijnh/tern","homepage":null,"size":5370,"stargazers_count":1654,"watchers_count":1654,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":154,"mirror_url":null,"open_issues_count":84,"forks":154,"open_issues":84,"watchers":1654,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/marijnh/tern/pulls/506"},"html":{"href":"https://github.com/marijnh/tern/pull/506"},"issue":{"href":"https://api.github.com/repos/marijnh/tern/issues/506"},"comments":{"href":"https://api.github.com/repos/marijnh/tern/issues/506/comments"},"review_comments":{"href":"https://api.github.com/repos/marijnh/tern/pulls/506/comments"},"review_comment":{"href":"https://api.github.com/repos/marijnh/tern/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/marijnh/tern/pulls/506/commits"},"statuses":{"href":"https://api.github.com/repos/marijnh/tern/statuses/6e99720b1ac324ac5c1c099039a2ca0ad3ff7aee"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":4,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}