From 11231795cd73c24fe1d4e2d5ee826e46271b8a62 Mon Sep 17 00:00:00 2001 From: "F. Eugene Aumson" Date: Thu, 16 Aug 2018 10:32:27 -0700 Subject: change `return Promise` to `await...` --- packages/sol-compiler/src/compiler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/sol-compiler/src/compiler.ts') 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. -- cgit v1.2.3