Skip to content

Commit eb5260c

Browse files
refactor: Fix typo in main.ts
Co-authored-by: Jiří Spilka <[email protected]>
1 parent 608c0e6 commit eb5260c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,13 @@ if (standbyMode) {
8282
app.listen(port, async () => {
8383
log.info(`The Actor web server is listening for user requests at ${host}:${port}`);
8484

85-
const promisese: Promise<unknown>[] = [];
86-
promisese.push(createAndStartSearchCrawler(searchCrawlerOptions));
85+
const promises: Promise<unknown>[] = [];
86+
promises.push(createAndStartSearchCrawler(searchCrawlerOptions));
8787
for (const settings of contentCrawlerOptions) {
88-
promisese.push(createAndStartContentCrawler(settings));
88+
promises.push(createAndStartContentCrawler(settings));
8989
}
9090

91-
await Promise.all(promisese);
91+
await Promise.all(promises);
9292
});
9393
} else {
9494
log.info('Actor is running in the NORMAL mode.');

0 commit comments

Comments
 (0)