aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorF. Eugene Aumson <gene@aumson.org>2018-08-17 01:32:27 +0800
committerF. Eugene Aumson <gene@aumson.org>2018-08-17 01:32:27 +0800
commit11231795cd73c24fe1d4e2d5ee826e46271b8a62 (patch)
treec5cf9f9a7905880f0d3c07fdc241064d60a13b6f
parent6b6b368bf6b3d9c6f69d47a2f304919c7e1c6ae1 (diff)
downloaddexon-sol-tools-11231795cd73c24fe1d4e2d5ee826e46271b8a62.tar
dexon-sol-tools-11231795cd73c24fe1d4e2d5ee826e46271b8a62.tar.gz
dexon-sol-tools-11231795cd73c24fe1d4e2d5ee826e46271b8a62.tar.bz2
dexon-sol-tools-11231795cd73c24fe1d4e2d5ee826e46271b8a62.tar.lz
dexon-sol-tools-11231795cd73c24fe1d4e2d5ee826e46271b8a62.tar.xz
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.ts2
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.