Update index.ts
This commit is contained in:
parent
8101cbee37
commit
26a092f780
@ -239,7 +239,6 @@ export class WebScraperDataProvider {
|
|||||||
links: string[]
|
links: string[]
|
||||||
): Promise<Document[]> {
|
): Promise<Document[]> {
|
||||||
await this.setCachedDocuments(documents, links);
|
await this.setCachedDocuments(documents, links);
|
||||||
documents = this.filterDocsExcludeInclude(documents);
|
|
||||||
documents = this.removeChildLinks(documents);
|
documents = this.removeChildLinks(documents);
|
||||||
return documents.splice(0, this.limit);
|
return documents.splice(0, this.limit);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user