diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-13 07:32:41 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2018-12-13 07:32:41 +0800 |
commit | 1534505652aa12a385dee46f876c22cc4ce8621a (patch) | |
tree | d6cf228c7a077fa43a440d23034211f305645bdb /packages/pipeline/src/scripts/update_relayer_info.ts | |
parent | a1186f052d7cff755f3076275b1d88735610b77f (diff) | |
download | dexon-sol-tools-1534505652aa12a385dee46f876c22cc4ce8621a.tar dexon-sol-tools-1534505652aa12a385dee46f876c22cc4ce8621a.tar.gz dexon-sol-tools-1534505652aa12a385dee46f876c22cc4ce8621a.tar.bz2 dexon-sol-tools-1534505652aa12a385dee46f876c22cc4ce8621a.tar.lz dexon-sol-tools-1534505652aa12a385dee46f876c22cc4ce8621a.tar.xz dexon-sol-tools-1534505652aa12a385dee46f876c22cc4ce8621a.tar.zst dexon-sol-tools-1534505652aa12a385dee46f876c22cc4ce8621a.zip |
Fix linter errors
Diffstat (limited to 'packages/pipeline/src/scripts/update_relayer_info.ts')
-rw-r--r-- | packages/pipeline/src/scripts/update_relayer_info.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/pipeline/src/scripts/update_relayer_info.ts b/packages/pipeline/src/scripts/update_relayer_info.ts index f8918728d..41d29b385 100644 --- a/packages/pipeline/src/scripts/update_relayer_info.ts +++ b/packages/pipeline/src/scripts/update_relayer_info.ts @@ -17,11 +17,11 @@ let connection: Connection; (async () => { connection = await createConnection(ormConfig as ConnectionOptions); - await getRelayers(); + await getRelayersAsync(); process.exit(0); })().catch(handleError); -async function getRelayers(): Promise<void> { +async function getRelayersAsync(): Promise<void> { console.log('Getting latest relayer info...'); const relayerRepository = connection.getRepository(Relayer); const relayerSource = new RelayerRegistrySource(RELAYER_REGISTRY_URL); |