mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
yarn lint-fix
This commit is contained in:
@@ -84,7 +84,7 @@ class Cheerio_DocumentLoaders implements INode {
|
|||||||
let availableUrls: string[]
|
let availableUrls: string[]
|
||||||
let docs = []
|
let docs = []
|
||||||
if (webScrap) {
|
if (webScrap) {
|
||||||
if (!limit) limit = "10"
|
if (!limit) limit = '10'
|
||||||
availableUrls = await getAvailableURLs(url, parseInt(limit))
|
availableUrls = await getAvailableURLs(url, parseInt(limit))
|
||||||
for (let i = 0; i < availableUrls.length; i++) {
|
for (let i = 0; i < availableUrls.length; i++) {
|
||||||
docs.push(...(await cheerioLoader(availableUrls[i])))
|
docs.push(...(await cheerioLoader(availableUrls[i])))
|
||||||
|
|||||||
Reference in New Issue
Block a user