Skip to content

Commit bfd6f1c

Browse files
remove satisfies
1 parent 449e2ea commit bfd6f1c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

packages/actor-scraper/sitemap-scraper/src/internals/crawler_setup.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,9 @@ export class CrawlerSetup {
217217
}
218218
}
219219

220-
private async _discoverSitemaps(startUrls: string[]) {
220+
private async _discoverSitemaps(
221+
startUrls: string[],
222+
): Promise<SitemapDiscoveryResult> {
221223
const discoveryProxyUrl = await this.proxyConfiguration?.newUrl();
222224
const proxyAttempt = await this._discoverSitemapsWithTimeout(
223225
startUrls,
@@ -234,7 +236,7 @@ export class CrawlerSetup {
234236
return {
235237
...proxyAttempt,
236238
disableProxyForRun: false,
237-
} satisfies SitemapDiscoveryResult;
239+
};
238240
}
239241

240242
log.warning(
@@ -249,7 +251,7 @@ export class CrawlerSetup {
249251
noProxyAttempt.discovered &&
250252
noProxyAttempt.discovered.length > 0,
251253
),
252-
} satisfies SitemapDiscoveryResult;
254+
};
253255
}
254256

255257
private async _initializeAsync() {

0 commit comments

Comments
 (0)