Open k----n opened 4 years ago
The problem lies here: https://github.com/microsoft/ghcrawler/blob/0ac110780f4e8ec915dfb47f55e55cccf80892d7/lib/crawler.js#L30-L37
The path is not only /orgList https://github.com/microsoft/ghcrawler/blob/0ac110780f4e8ec915dfb47f55e55cccf80892d7/lib/crawler.js#L32
/orgList
When reassigning this.options.orgList, this.options.orgList.map(element => element.toLowerCase()) should be used and not orgList.value.map(element => element.toLowerCase()). https://github.com/microsoft/ghcrawler/blob/0ac110780f4e8ec915dfb47f55e55cccf80892d7/lib/crawler.js#L35
this.options.orgList
this.options.orgList.map(element => element.toLowerCase())
orgList.value.map(element => element.toLowerCase())
The problem lies here: https://github.com/microsoft/ghcrawler/blob/0ac110780f4e8ec915dfb47f55e55cccf80892d7/lib/crawler.js#L30-L37
The path is not only
/orgList
https://github.com/microsoft/ghcrawler/blob/0ac110780f4e8ec915dfb47f55e55cccf80892d7/lib/crawler.js#L32When reassigning
this.options.orgList
,this.options.orgList.map(element => element.toLowerCase())
should be used and notorgList.value.map(element => element.toLowerCase())
. https://github.com/microsoft/ghcrawler/blob/0ac110780f4e8ec915dfb47f55e55cccf80892d7/lib/crawler.js#L35