Skip to content

Commit e62cd5f

Browse files
Update packages/utils/src/internals/sitemap.ts
Co-authored-by: Jindřich Bär <jindrichbar@gmail.com>
1 parent 0086010 commit e62cd5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/src/internals/sitemap.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ export async function* discoverValidSitemaps(
551551
return firstUrl.toString();
552552
});
553553
const candidateResults = await Promise.allSettled(
554-
candidateSitemapUrls.map((candidateSitemapUrl) => urlExists(candidateSitemapUrl)),
554+
candidateSitemapUrls.map(urlExists),
555555
);
556556

557557
for (const [index, result] of candidateResults.entries()) {

0 commit comments

Comments
 (0)