aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorAlex Browne <stephenalexbrowne@gmail.com>2018-12-05 07:23:15 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-06 19:06:35 +0800
commit4a5b72a5abadeed27b788c37cf669c51a090a86e (patch)
treedaa818d4a0f7196b94dd3a8a2a193e67146ca141 /packages
parent2d6c46b83c67401fcae01e2e98e9755463a3c71a (diff)
downloaddexon-sol-tools-4a5b72a5abadeed27b788c37cf669c51a090a86e.tar
dexon-sol-tools-4a5b72a5abadeed27b788c37cf669c51a090a86e.tar.gz
dexon-sol-tools-4a5b72a5abadeed27b788c37cf669c51a090a86e.tar.bz2
dexon-sol-tools-4a5b72a5abadeed27b788c37cf669c51a090a86e.tar.lz
dexon-sol-tools-4a5b72a5abadeed27b788c37cf669c51a090a86e.tar.xz
dexon-sol-tools-4a5b72a5abadeed27b788c37cf669c51a090a86e.tar.zst
dexon-sol-tools-4a5b72a5abadeed27b788c37cf669c51a090a86e.zip
Fix linter
Diffstat (limited to 'packages')
-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);