Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
Update _testRegex() (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
geneh committed May 22, 2019
1 parent 91c8a70 commit 5a8de62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/crawler.js
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ class Crawler {
// This is currently Microsoft-specific. https://github.com/Microsoft/ghcrawler/issues/109
_testRegex(request) {
const patterns = [/[.|-]handoff/, /handback/, /\/azure-content-/,
/\/learn-bizapps-pr/, /\/azure-docs-pr/, /\/acom\//];
/\/learn-bizapps-pr/, /\/azure-docs-pr\./, /\/acom\//];
return patterns.some(pattern => pattern.test(request.url));
}

Expand Down

0 comments on commit 5a8de62

Please sign in to comment.