chore: lint

This commit is contained in:
karishmas6
2024-07-16 00:28:20 +05:30
parent 37ab9dcfe9
commit b70b1be6e9

View File

@@ -119,7 +119,7 @@ function scrapableHeuristics(maxCountPerPage = 50, minArea = 20000, scrolls = 3,
// as long as we don't merge any two elements by substituing them for their parents,
// we substitute.
while (out.map((x) => x.parentElement).every(different)
&& out.forEach((x) => x.parentElement !== null)) {
&& out.forEach((x) => x.parentElement !== null)) {
out = out.map((x) => x.parentElement ?? x);
}