diff options
author | F. Eugene Aumson <gene@aumson.org> | 2018-08-17 01:32:27 +0800 |
---|---|---|
committer | F. Eugene Aumson <gene@aumson.org> | 2018-08-17 01:32:27 +0800 |
commit | 11231795cd73c24fe1d4e2d5ee826e46271b8a62 (patch) | |
tree | c5cf9f9a7905880f0d3c07fdc241064d60a13b6f | |
parent | 6b6b368bf6b3d9c6f69d47a2f304919c7e1c6ae1 (diff) | |
download | dexon-sol-tools-11231795cd73c24fe1d4e2d5ee826e46271b8a62.tar.gz dexon-sol-tools-11231795cd73c24fe1d4e2d5ee826e46271b8a62.tar.zst dexon-sol-tools-11231795cd73c24fe1d4e2d5ee826e46271b8a62.zip |
change `return Promise<void>` to `await...`
-rw-r--r-- | packages/sol-compiler/src/compiler.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/sol-compiler/src/compiler.ts b/packages/sol-compiler/src/compiler.ts index 1af11dcd0..eb9670b03 100644 --- a/packages/sol-compiler/src/compiler.ts +++ b/packages/sol-compiler/src/compiler.ts @@ -150,7 +150,7 @@ export class Compiler { } else { contractNamesToCompile = this._specifiedContracts; } - return this._compileContractsAsync(contractNamesToCompile); + await this._compileContractsAsync(contractNamesToCompile); } /** * Compiles contract and saves artifact to artifactsDir. |