fix: remove duplicate return

This commit is contained in:
karishmas6
2024-08-18 22:32:58 +05:30
parent 1c93e5430a
commit 5daac01f1b

View File

@@ -388,7 +388,6 @@ export default class Interpreter extends EventEmitter {
const finalResults = await page.evaluate((cfg) => window.scrapeList(cfg), config); const finalResults = await page.evaluate((cfg) => window.scrapeList(cfg), config);
allResults = allResults.concat(finalResults); allResults = allResults.concat(finalResults);
return allResults; return allResults;
return allResults;
} }
previousHeight = currentHeight; previousHeight = currentHeight;
break; break;