Skip to content

Commit

Permalink
Filter out learn-bizapps-pr repos
Browse files Browse the repository at this point in the history
  • Loading branch information
geneh committed Nov 28, 2018
1 parent ccb0ef9 commit 3a03ceb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/crawler.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,8 @@ class Crawler {

// This is currently Microsoft-specific. https://github.com/Microsoft/ghcrawler/issues/109
_testRegex(request) {
const patterns = [/[.|-]handoff/, /handback/, /\/azure-content-/, /\/azure-docs-pr/, /\/acom\//];
const patterns = [/[.|-]handoff/, /handback/, /\/azure-content-/,
/\/learn-bizapps-pr/, /\/azure-docs-pr/, /\/acom\//];
return patterns.some(pattern => pattern.test(request.url));
}

Expand Down

0 comments on commit 3a03ceb

Please sign in to comment.