diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-13 07:54:00 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-13 07:54:00 +0800 |
commit | f9d436cd213a6d9800aa528c9bac5415230378f4 (patch) | |
tree | d6cf228c7a077fa43a440d23034211f305645bdb /packages/pipeline/src/scripts/pull_competing_dex_trades.ts | |
parent | 78a6d236599857e2c9478b3c23a751101a6e233b (diff) | |
parent | 1534505652aa12a385dee46f876c22cc4ce8621a (diff) | |
download | dexon-sol-tools-f9d436cd213a6d9800aa528c9bac5415230378f4.tar dexon-sol-tools-f9d436cd213a6d9800aa528c9bac5415230378f4.tar.gz dexon-sol-tools-f9d436cd213a6d9800aa528c9bac5415230378f4.tar.bz2 dexon-sol-tools-f9d436cd213a6d9800aa528c9bac5415230378f4.tar.lz dexon-sol-tools-f9d436cd213a6d9800aa528c9bac5415230378f4.tar.xz dexon-sol-tools-f9d436cd213a6d9800aa528c9bac5415230378f4.tar.zst dexon-sol-tools-f9d436cd213a6d9800aa528c9bac5415230378f4.zip |
Merge pull request #1425 from 0xProject/feature/async-suffix
Check for an Async suffix in functions, not just methods.
Diffstat (limited to 'packages/pipeline/src/scripts/pull_competing_dex_trades.ts')
-rw-r--r-- | packages/pipeline/src/scripts/pull_competing_dex_trades.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pipeline/src/scripts/pull_competing_dex_trades.ts b/packages/pipeline/src/scripts/pull_competing_dex_trades.ts index 4e4c12dd0..1478d5615 100644 --- a/packages/pipeline/src/scripts/pull_competing_dex_trades.ts +++ b/packages/pipeline/src/scripts/pull_competing_dex_trades.ts @@ -15,11 +15,11 @@ let connection: Connection; (async () => { connection = await createConnection(ormConfig as ConnectionOptions); - await getAndSaveTrades(); + await getAndSaveTradesAsync(); process.exit(0); })().catch(handleError); -async function getAndSaveTrades(): Promise<void> { +async function getAndSaveTradesAsync(): Promise<void> { const apiKey = process.env.BLOXY_API_KEY; if (apiKey === undefined) { throw new Error('Missing required env var: BLOXY_API_KEY'); |