aboutsummaryrefslogtreecommitdiffstats
path: root/packages/pipeline/src
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-12-05 07:23:15 +0800
committerAlex Browne <stephenalexbrowne@gmail.com>2018-12-05 07:23:15 +0800
commit8721d4ed7a7a38f77847b45619f15315044c375c (patch)
tree8bd30d03a88b7e9ae8a97957ccb7893493fa43ec /packages/pipeline/src
parent8c21a700bae0c751f7f9ca47f9a47628a4478911 (diff)
downloaddexon-sol-tools-8721d4ed7a7a38f77847b45619f15315044c375c.tar
dexon-sol-tools-8721d4ed7a7a38f77847b45619f15315044c375c.tar.gz
dexon-sol-tools-8721d4ed7a7a38f77847b45619f15315044c375c.tar.bz2
dexon-sol-tools-8721d4ed7a7a38f77847b45619f15315044c375c.tar.lz
dexon-sol-tools-8721d4ed7a7a38f77847b45619f15315044c375c.tar.xz
dexon-sol-tools-8721d4ed7a7a38f77847b45619f15315044c375c.tar.zst
dexon-sol-tools-8721d4ed7a7a38f77847b45619f15315044c375c.zip
Fix linter
Diffstat (limited to 'packages/pipeline/src')
-rw-r--r--packages/pipeline/src/scripts/pull_ddex_orderbook_snapshots.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/pipeline/src/scripts/pull_ddex_orderbook_snapshots.ts b/packages/pipeline/src/scripts/pull_ddex_orderbook_snapshots.ts
index b02468e9b..7868e9c5a 100644
--- a/packages/pipeline/src/scripts/pull_ddex_orderbook_snapshots.ts
+++ b/packages/pipeline/src/scripts/pull_ddex_orderbook_snapshots.ts
@@ -27,7 +27,7 @@ let connection: Connection;
await Promise.all(
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);
})().catch(handleError);