Fix linter

This commit is contained in:
Alex Browne 2018-12-04 15:23:15 -08:00
parent 8c21a700ba
commit 8721d4ed7a
No known key found for this signature in database
GPG Key ID: CA6B8D4AFA783512

View File

@ -27,7 +27,7 @@ let connection: Connection;
await Promise.all( await Promise.all(
marketsChunk.map(async (market: DdexMarket) => getAndSaveMarketOrderbook(ddexSource, market)), marketsChunk.map(async (market: DdexMarket) => getAndSaveMarketOrderbook(ddexSource, market)),
); );
await new Promise(resolve => setTimeout(resolve, MILLISEC_MARKET_ORDERBOOK_REQUEST_DELAY)); await new Promise<void>(resolve => setTimeout(resolve, MILLISEC_MARKET_ORDERBOOK_REQUEST_DELAY));
} }
process.exit(0); process.exit(0);
})().catch(handleError); })().catch(handleError);