0

Update index.ts

This commit is contained in:
Nicolas 2024-05-13 21:02:47 -07:00
parent 86b8439844
commit 8101cbee37

View File

@ -240,7 +240,6 @@ export class WebScraperDataProvider {
): Promise<Document[]> { ): Promise<Document[]> {
await this.setCachedDocuments(documents, links); await this.setCachedDocuments(documents, links);
documents = this.filterDocsExcludeInclude(documents); documents = this.filterDocsExcludeInclude(documents);
documents = this.filterDepth(documents);
documents = this.removeChildLinks(documents); documents = this.removeChildLinks(documents);
return documents.splice(0, this.limit); return documents.splice(0, this.limit);
} }