{"action":"created","comment":{"url":"https://api.github.com/repos/bcoe/nyc/pulls/comments/45887001","id":45887001,"diff_hunk":"@@ -53,13 +63,17 @@ NYC.prototype._createInstrumenter = function () {\n NYC.prototype.addFile = function (filename, returnImmediately) {\n   var instrument = true\n   var relFile = path.relative(this.cwd, filename)\n+  var include\n \n-  // only instrument a file if it's not on the exclude list.\n   for (var i = 0, exclude; (exclude = this.exclude[i]) !== undefined; i++) {\n+    include = this.include[i]","path":"index.js","position":45,"original_position":45,"commit_id":"36863e96e8a3291914369ba264fa6719c8a12c93","original_commit_id":"36863e96e8a3291914369ba264fa6719c8a12c93","user":{"login":"bcoe","id":194609,"avatar_url":"https://avatars.githubusercontent.com/u/194609?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoe","html_url":"https://github.com/bcoe","followers_url":"https://api.github.com/users/bcoe/followers","following_url":"https://api.github.com/users/bcoe/following{/other_user}","gists_url":"https://api.github.com/users/bcoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoe/subscriptions","organizations_url":"https://api.github.com/users/bcoe/orgs","repos_url":"https://api.github.com/users/bcoe/repos","events_url":"https://api.github.com/users/bcoe/events{/privacy}","received_events_url":"https://api.github.com/users/bcoe/received_events","type":"User","site_admin":false},"body":"@Lalem001 good find, perhaps you could add a couple tests @davidchase -- was going to bug you about this already.\r\n\r\nI haven't forgotten about this pull request, I've been doing a big overhaul of nyc that makes it work properly with ES6 :) I hope to have a few releases of the project out this weekend.","created_at":"2015-11-25T16:25:27Z","updated_at":"2015-11-25T16:25:27Z","html_url":"https://github.com/bcoe/nyc/pull/54#discussion_r45887001","pull_request_url":"https://api.github.com/repos/bcoe/nyc/pulls/54","_links":{"self":{"href":"https://api.github.com/repos/bcoe/nyc/pulls/comments/45887001"},"html":{"href":"https://github.com/bcoe/nyc/pull/54#discussion_r45887001"},"pull_request":{"href":"https://api.github.com/repos/bcoe/nyc/pulls/54"}}},"pull_request":{"url":"https://api.github.com/repos/bcoe/nyc/pulls/54","id":50279801,"html_url":"https://github.com/bcoe/nyc/pull/54","diff_url":"https://github.com/bcoe/nyc/pull/54.diff","patch_url":"https://github.com/bcoe/nyc/pull/54.patch","issue_url":"https://api.github.com/repos/bcoe/nyc/issues/54","number":54,"state":"open","locked":false,"title":"adds include key","user":{"login":"davidchase","id":490291,"avatar_url":"https://avatars.githubusercontent.com/u/490291?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchase","html_url":"https://github.com/davidchase","followers_url":"https://api.github.com/users/davidchase/followers","following_url":"https://api.github.com/users/davidchase/following{/other_user}","gists_url":"https://api.github.com/users/davidchase/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchase/subscriptions","organizations_url":"https://api.github.com/users/davidchase/orgs","repos_url":"https://api.github.com/users/davidchase/repos","events_url":"https://api.github.com/users/davidchase/events{/privacy}","received_events_url":"https://api.github.com/users/davidchase/received_events","type":"User","site_admin":false},"body":"Let me know if you prefer me not to add helper methods or anything else should be added or removed\r\n\r\nthanks","created_at":"2015-11-10T16:55:24Z","updated_at":"2015-11-25T16:25:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b38d4432eb87c30e2538d028256ca8ca2f75068","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bcoe/nyc/pulls/54/commits","review_comments_url":"https://api.github.com/repos/bcoe/nyc/pulls/54/comments","review_comment_url":"https://api.github.com/repos/bcoe/nyc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bcoe/nyc/issues/54/comments","statuses_url":"https://api.github.com/repos/bcoe/nyc/statuses/36863e96e8a3291914369ba264fa6719c8a12c93","head":{"label":"davidchase:master","ref":"master","sha":"36863e96e8a3291914369ba264fa6719c8a12c93","user":{"login":"davidchase","id":490291,"avatar_url":"https://avatars.githubusercontent.com/u/490291?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchase","html_url":"https://github.com/davidchase","followers_url":"https://api.github.com/users/davidchase/followers","following_url":"https://api.github.com/users/davidchase/following{/other_user}","gists_url":"https://api.github.com/users/davidchase/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchase/subscriptions","organizations_url":"https://api.github.com/users/davidchase/orgs","repos_url":"https://api.github.com/users/davidchase/repos","events_url":"https://api.github.com/users/davidchase/events{/privacy}","received_events_url":"https://api.github.com/users/davidchase/received_events","type":"User","site_admin":false},"repo":{"id":45924535,"name":"nyc","full_name":"davidchase/nyc","owner":{"login":"davidchase","id":490291,"avatar_url":"https://avatars.githubusercontent.com/u/490291?v=3","gravatar_id":"","url":"https://api.github.com/users/davidchase","html_url":"https://github.com/davidchase","followers_url":"https://api.github.com/users/davidchase/followers","following_url":"https://api.github.com/users/davidchase/following{/other_user}","gists_url":"https://api.github.com/users/davidchase/gists{/gist_id}","starred_url":"https://api.github.com/users/davidchase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidchase/subscriptions","organizations_url":"https://api.github.com/users/davidchase/orgs","repos_url":"https://api.github.com/users/davidchase/repos","events_url":"https://api.github.com/users/davidchase/events{/privacy}","received_events_url":"https://api.github.com/users/davidchase/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidchase/nyc","description":"a code coverage tool that works well with subprocesses.","fork":true,"url":"https://api.github.com/repos/davidchase/nyc","forks_url":"https://api.github.com/repos/davidchase/nyc/forks","keys_url":"https://api.github.com/repos/davidchase/nyc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidchase/nyc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidchase/nyc/teams","hooks_url":"https://api.github.com/repos/davidchase/nyc/hooks","issue_events_url":"https://api.github.com/repos/davidchase/nyc/issues/events{/number}","events_url":"https://api.github.com/repos/davidchase/nyc/events","assignees_url":"https://api.github.com/repos/davidchase/nyc/assignees{/user}","branches_url":"https://api.github.com/repos/davidchase/nyc/branches{/branch}","tags_url":"https://api.github.com/repos/davidchase/nyc/tags","blobs_url":"https://api.github.com/repos/davidchase/nyc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidchase/nyc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidchase/nyc/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidchase/nyc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidchase/nyc/statuses/{sha}","languages_url":"https://api.github.com/repos/davidchase/nyc/languages","stargazers_url":"https://api.github.com/repos/davidchase/nyc/stargazers","contributors_url":"https://api.github.com/repos/davidchase/nyc/contributors","subscribers_url":"https://api.github.com/repos/davidchase/nyc/subscribers","subscription_url":"https://api.github.com/repos/davidchase/nyc/subscription","commits_url":"https://api.github.com/repos/davidchase/nyc/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidchase/nyc/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidchase/nyc/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidchase/nyc/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidchase/nyc/contents/{+path}","compare_url":"https://api.github.com/repos/davidchase/nyc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidchase/nyc/merges","archive_url":"https://api.github.com/repos/davidchase/nyc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidchase/nyc/downloads","issues_url":"https://api.github.com/repos/davidchase/nyc/issues{/number}","pulls_url":"https://api.github.com/repos/davidchase/nyc/pulls{/number}","milestones_url":"https://api.github.com/repos/davidchase/nyc/milestones{/number}","notifications_url":"https://api.github.com/repos/davidchase/nyc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidchase/nyc/labels{/name}","releases_url":"https://api.github.com/repos/davidchase/nyc/releases{/id}","created_at":"2015-11-10T16:25:34Z","updated_at":"2015-11-10T16:25:35Z","pushed_at":"2015-11-10T16:54:23Z","git_url":"git://github.com/davidchase/nyc.git","ssh_url":"git@github.com:davidchase/nyc.git","clone_url":"https://github.com/davidchase/nyc.git","svn_url":"https://github.com/davidchase/nyc","homepage":"","size":638,"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":"bcoe:master","ref":"master","sha":"4e9545a0c039032585149bf503c797f975e1e982","user":{"login":"bcoe","id":194609,"avatar_url":"https://avatars.githubusercontent.com/u/194609?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoe","html_url":"https://github.com/bcoe","followers_url":"https://api.github.com/users/bcoe/followers","following_url":"https://api.github.com/users/bcoe/following{/other_user}","gists_url":"https://api.github.com/users/bcoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoe/subscriptions","organizations_url":"https://api.github.com/users/bcoe/orgs","repos_url":"https://api.github.com/users/bcoe/repos","events_url":"https://api.github.com/users/bcoe/events{/privacy}","received_events_url":"https://api.github.com/users/bcoe/received_events","type":"User","site_admin":false},"repo":{"id":35312458,"name":"nyc","full_name":"bcoe/nyc","owner":{"login":"bcoe","id":194609,"avatar_url":"https://avatars.githubusercontent.com/u/194609?v=3","gravatar_id":"","url":"https://api.github.com/users/bcoe","html_url":"https://github.com/bcoe","followers_url":"https://api.github.com/users/bcoe/followers","following_url":"https://api.github.com/users/bcoe/following{/other_user}","gists_url":"https://api.github.com/users/bcoe/gists{/gist_id}","starred_url":"https://api.github.com/users/bcoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcoe/subscriptions","organizations_url":"https://api.github.com/users/bcoe/orgs","repos_url":"https://api.github.com/users/bcoe/repos","events_url":"https://api.github.com/users/bcoe/events{/privacy}","received_events_url":"https://api.github.com/users/bcoe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bcoe/nyc","description":"a code coverage tool that works well with subprocesses.","fork":false,"url":"https://api.github.com/repos/bcoe/nyc","forks_url":"https://api.github.com/repos/bcoe/nyc/forks","keys_url":"https://api.github.com/repos/bcoe/nyc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bcoe/nyc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bcoe/nyc/teams","hooks_url":"https://api.github.com/repos/bcoe/nyc/hooks","issue_events_url":"https://api.github.com/repos/bcoe/nyc/issues/events{/number}","events_url":"https://api.github.com/repos/bcoe/nyc/events","assignees_url":"https://api.github.com/repos/bcoe/nyc/assignees{/user}","branches_url":"https://api.github.com/repos/bcoe/nyc/branches{/branch}","tags_url":"https://api.github.com/repos/bcoe/nyc/tags","blobs_url":"https://api.github.com/repos/bcoe/nyc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bcoe/nyc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bcoe/nyc/git/refs{/sha}","trees_url":"https://api.github.com/repos/bcoe/nyc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bcoe/nyc/statuses/{sha}","languages_url":"https://api.github.com/repos/bcoe/nyc/languages","stargazers_url":"https://api.github.com/repos/bcoe/nyc/stargazers","contributors_url":"https://api.github.com/repos/bcoe/nyc/contributors","subscribers_url":"https://api.github.com/repos/bcoe/nyc/subscribers","subscription_url":"https://api.github.com/repos/bcoe/nyc/subscription","commits_url":"https://api.github.com/repos/bcoe/nyc/commits{/sha}","git_commits_url":"https://api.github.com/repos/bcoe/nyc/git/commits{/sha}","comments_url":"https://api.github.com/repos/bcoe/nyc/comments{/number}","issue_comment_url":"https://api.github.com/repos/bcoe/nyc/issues/comments{/number}","contents_url":"https://api.github.com/repos/bcoe/nyc/contents/{+path}","compare_url":"https://api.github.com/repos/bcoe/nyc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bcoe/nyc/merges","archive_url":"https://api.github.com/repos/bcoe/nyc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bcoe/nyc/downloads","issues_url":"https://api.github.com/repos/bcoe/nyc/issues{/number}","pulls_url":"https://api.github.com/repos/bcoe/nyc/pulls{/number}","milestones_url":"https://api.github.com/repos/bcoe/nyc/milestones{/number}","notifications_url":"https://api.github.com/repos/bcoe/nyc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bcoe/nyc/labels{/name}","releases_url":"https://api.github.com/repos/bcoe/nyc/releases{/id}","created_at":"2015-05-09T02:55:45Z","updated_at":"2015-11-21T00:46:45Z","pushed_at":"2015-11-25T07:40:15Z","git_url":"git://github.com/bcoe/nyc.git","ssh_url":"git@github.com:bcoe/nyc.git","clone_url":"https://github.com/bcoe/nyc.git","svn_url":"https://github.com/bcoe/nyc","homepage":"","size":151,"stargazers_count":113,"watchers_count":113,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":12,"forks":10,"open_issues":12,"watchers":113,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bcoe/nyc/pulls/54"},"html":{"href":"https://github.com/bcoe/nyc/pull/54"},"issue":{"href":"https://api.github.com/repos/bcoe/nyc/issues/54"},"comments":{"href":"https://api.github.com/repos/bcoe/nyc/issues/54/comments"},"review_comments":{"href":"https://api.github.com/repos/bcoe/nyc/pulls/54/comments"},"review_comment":{"href":"https://api.github.com/repos/bcoe/nyc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bcoe/nyc/pulls/54/commits"},"statuses":{"href":"https://api.github.com/repos/bcoe/nyc/statuses/36863e96e8a3291914369ba264fa6719c8a12c93"}}}}