{"action":"created","comment":{"url":"https://api.github.com/repos/Microsoft/vsts-task-lib/pulls/comments/80667109","pull_request_review_id":1708415,"id":80667109,"diff_hunk":"@@ -1157,6 +1159,27 @@ export function globFirst(pattern: string): string {\n     return matches[0];\n }\n \n+export function findFiles(includePattern: string[], excludePattern: string[], workingDir?: string): string[] {","path":"node/task.ts","position":13,"original_position":13,"commit_id":"2fa1bb9353eff9b823f0c76be0279142812a7cfd","original_commit_id":"2fa1bb9353eff9b823f0c76be0279142812a7cfd","user":{"login":"bryanmacfarlane","id":919564,"avatar_url":"https://avatars.githubusercontent.com/u/919564?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanmacfarlane","html_url":"https://github.com/bryanmacfarlane","followers_url":"https://api.github.com/users/bryanmacfarlane/followers","following_url":"https://api.github.com/users/bryanmacfarlane/following{/other_user}","gists_url":"https://api.github.com/users/bryanmacfarlane/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanmacfarlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanmacfarlane/subscriptions","organizations_url":"https://api.github.com/users/bryanmacfarlane/orgs","repos_url":"https://api.github.com/users/bryanmacfarlane/repos","events_url":"https://api.github.com/users/bryanmacfarlane/events{/privacy}","received_events_url":"https://api.github.com/users/bryanmacfarlane/received_events","type":"User","site_admin":false},"body":"Agreed on Eric's points above.","created_at":"2016-09-27T11:01:55Z","updated_at":"2016-09-27T11:01:55Z","html_url":"https://github.com/Microsoft/vsts-task-lib/pull/137#discussion_r80667109","pull_request_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/pulls/137","_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vsts-task-lib/pulls/comments/80667109"},"html":{"href":"https://github.com/Microsoft/vsts-task-lib/pull/137#discussion_r80667109"},"pull_request":{"href":"https://api.github.com/repos/Microsoft/vsts-task-lib/pulls/137"}}},"pull_request":{"url":"https://api.github.com/repos/Microsoft/vsts-task-lib/pulls/137","id":84307675,"html_url":"https://github.com/Microsoft/vsts-task-lib/pull/137","diff_url":"https://github.com/Microsoft/vsts-task-lib/pull/137.diff","patch_url":"https://github.com/Microsoft/vsts-task-lib/pull/137.patch","issue_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/issues/137","number":137,"state":"open","locked":false,"title":"Add abstracted Find Files functionality","user":{"login":"nigurr","id":15208679,"avatar_url":"https://avatars.githubusercontent.com/u/15208679?v=3","gravatar_id":"","url":"https://api.github.com/users/nigurr","html_url":"https://github.com/nigurr","followers_url":"https://api.github.com/users/nigurr/followers","following_url":"https://api.github.com/users/nigurr/following{/other_user}","gists_url":"https://api.github.com/users/nigurr/gists{/gist_id}","starred_url":"https://api.github.com/users/nigurr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nigurr/subscriptions","organizations_url":"https://api.github.com/users/nigurr/orgs","repos_url":"https://api.github.com/users/nigurr/repos","events_url":"https://api.github.com/users/nigurr/events{/privacy}","received_events_url":"https://api.github.com/users/nigurr/received_events","type":"User","site_admin":false},"body":"* Multiple filters can be passed and should be sent as array\r\n* Include/Exclude filter support\r\n* Search files anywhere","created_at":"2016-09-07T14:12:38Z","updated_at":"2016-09-27T11:01:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"46bf9fa4f4f4bc53b3657ae3c5bf00fc055545b2","assignee":{"login":"ericsciple","id":12102068,"avatar_url":"https://avatars.githubusercontent.com/u/12102068?v=3","gravatar_id":"","url":"https://api.github.com/users/ericsciple","html_url":"https://github.com/ericsciple","followers_url":"https://api.github.com/users/ericsciple/followers","following_url":"https://api.github.com/users/ericsciple/following{/other_user}","gists_url":"https://api.github.com/users/ericsciple/gists{/gist_id}","starred_url":"https://api.github.com/users/ericsciple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericsciple/subscriptions","organizations_url":"https://api.github.com/users/ericsciple/orgs","repos_url":"https://api.github.com/users/ericsciple/repos","events_url":"https://api.github.com/users/ericsciple/events{/privacy}","received_events_url":"https://api.github.com/users/ericsciple/received_events","type":"User","site_admin":false},"assignees":[{"login":"ericsciple","id":12102068,"avatar_url":"https://avatars.githubusercontent.com/u/12102068?v=3","gravatar_id":"","url":"https://api.github.com/users/ericsciple","html_url":"https://github.com/ericsciple","followers_url":"https://api.github.com/users/ericsciple/followers","following_url":"https://api.github.com/users/ericsciple/following{/other_user}","gists_url":"https://api.github.com/users/ericsciple/gists{/gist_id}","starred_url":"https://api.github.com/users/ericsciple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericsciple/subscriptions","organizations_url":"https://api.github.com/users/ericsciple/orgs","repos_url":"https://api.github.com/users/ericsciple/repos","events_url":"https://api.github.com/users/ericsciple/events{/privacy}","received_events_url":"https://api.github.com/users/ericsciple/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/pulls/137/commits","review_comments_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/pulls/137/comments","review_comment_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/issues/137/comments","statuses_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/statuses/2fa1bb9353eff9b823f0c76be0279142812a7cfd","head":{"label":"Microsoft:users/nigurr/FindFilesfunctionality","ref":"users/nigurr/FindFilesfunctionality","sha":"2fa1bb9353eff9b823f0c76be0279142812a7cfd","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":38649294,"name":"vsts-task-lib","full_name":"Microsoft/vsts-task-lib","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/vsts-task-lib","description":"Libraries for writing VSTS and TFS build tasks","fork":false,"url":"https://api.github.com/repos/Microsoft/vsts-task-lib","forks_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/forks","keys_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/teams","hooks_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/events","assignees_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/tags","blobs_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/languages","stargazers_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/subscription","commits_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/merges","archive_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/downloads","issues_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/deployments","created_at":"2015-07-06T22:13:57Z","updated_at":"2016-09-23T11:11:55Z","pushed_at":"2016-09-27T04:35:23Z","git_url":"git://github.com/Microsoft/vsts-task-lib.git","ssh_url":"git@github.com:Microsoft/vsts-task-lib.git","clone_url":"https://github.com/Microsoft/vsts-task-lib.git","svn_url":"https://github.com/Microsoft/vsts-task-lib","homepage":"https://aka.ms/tfbuild","size":777,"stargazers_count":48,"watchers_count":48,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":20,"forks":31,"open_issues":20,"watchers":48,"default_branch":"master"}},"base":{"label":"Microsoft:master","ref":"master","sha":"086258a31de29f1a4486cf579731aaf6d41a80de","user":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"repo":{"id":38649294,"name":"vsts-task-lib","full_name":"Microsoft/vsts-task-lib","owner":{"login":"Microsoft","id":6154722,"avatar_url":"https://avatars.githubusercontent.com/u/6154722?v=3","gravatar_id":"","url":"https://api.github.com/users/Microsoft","html_url":"https://github.com/Microsoft","followers_url":"https://api.github.com/users/Microsoft/followers","following_url":"https://api.github.com/users/Microsoft/following{/other_user}","gists_url":"https://api.github.com/users/Microsoft/gists{/gist_id}","starred_url":"https://api.github.com/users/Microsoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Microsoft/subscriptions","organizations_url":"https://api.github.com/users/Microsoft/orgs","repos_url":"https://api.github.com/users/Microsoft/repos","events_url":"https://api.github.com/users/Microsoft/events{/privacy}","received_events_url":"https://api.github.com/users/Microsoft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Microsoft/vsts-task-lib","description":"Libraries for writing VSTS and TFS build tasks","fork":false,"url":"https://api.github.com/repos/Microsoft/vsts-task-lib","forks_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/forks","keys_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/teams","hooks_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/hooks","issue_events_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/issues/events{/number}","events_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/events","assignees_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/assignees{/user}","branches_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/branches{/branch}","tags_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/tags","blobs_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/git/refs{/sha}","trees_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/statuses/{sha}","languages_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/languages","stargazers_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/stargazers","contributors_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/contributors","subscribers_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/subscribers","subscription_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/subscription","commits_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/commits{/sha}","git_commits_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/git/commits{/sha}","comments_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/comments{/number}","issue_comment_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/issues/comments{/number}","contents_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/contents/{+path}","compare_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/merges","archive_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/downloads","issues_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/issues{/number}","pulls_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/pulls{/number}","milestones_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/milestones{/number}","notifications_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/labels{/name}","releases_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/releases{/id}","deployments_url":"https://api.github.com/repos/Microsoft/vsts-task-lib/deployments","created_at":"2015-07-06T22:13:57Z","updated_at":"2016-09-23T11:11:55Z","pushed_at":"2016-09-27T04:35:23Z","git_url":"git://github.com/Microsoft/vsts-task-lib.git","ssh_url":"git@github.com:Microsoft/vsts-task-lib.git","clone_url":"https://github.com/Microsoft/vsts-task-lib.git","svn_url":"https://github.com/Microsoft/vsts-task-lib","homepage":"https://aka.ms/tfbuild","size":777,"stargazers_count":48,"watchers_count":48,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":20,"forks":31,"open_issues":20,"watchers":48,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Microsoft/vsts-task-lib/pulls/137"},"html":{"href":"https://github.com/Microsoft/vsts-task-lib/pull/137"},"issue":{"href":"https://api.github.com/repos/Microsoft/vsts-task-lib/issues/137"},"comments":{"href":"https://api.github.com/repos/Microsoft/vsts-task-lib/issues/137/comments"},"review_comments":{"href":"https://api.github.com/repos/Microsoft/vsts-task-lib/pulls/137/comments"},"review_comment":{"href":"https://api.github.com/repos/Microsoft/vsts-task-lib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Microsoft/vsts-task-lib/pulls/137/commits"},"statuses":{"href":"https://api.github.com/repos/Microsoft/vsts-task-lib/statuses/2fa1bb9353eff9b823f0c76be0279142812a7cfd"}}}}
{"actor":{"display_login":"bryanmacfarlane"}}