aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-15 23:42:36 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-21 22:07:51 +0800
commitc4b4bb9e8e50af5a21091f4e8f54176ffb337739 (patch)
tree33ae654275132f3e8905d906f64d8a0dace2efc2 /packages
parent8fd705d2afe6ddcb53a16973256a0674e180be67 (diff)
downloaddexon-sol-tools-c4b4bb9e8e50af5a21091f4e8f54176ffb337739.tar
dexon-sol-tools-c4b4bb9e8e50af5a21091f4e8f54176ffb337739.tar.gz
dexon-sol-tools-c4b4bb9e8e50af5a21091f4e8f54176ffb337739.tar.bz2
dexon-sol-tools-c4b4bb9e8e50af5a21091f4e8f54176ffb337739.tar.lz
dexon-sol-tools-c4b4bb9e8e50af5a21091f4e8f54176ffb337739.tar.xz
dexon-sol-tools-c4b4bb9e8e50af5a21091f4e8f54176ffb337739.tar.zst
dexon-sol-tools-c4b4bb9e8e50af5a21091f4e8f54176ffb337739.zip
Compile contracts sequentially
Diffstat (limited to 'packages')
-rw-r--r--packages/deployer/src/compiler.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/deployer/src/compiler.ts b/packages/deployer/src/compiler.ts
index 206f333f6..4563752f6 100644
--- a/packages/deployer/src/compiler.ts
+++ b/packages/deployer/src/compiler.ts
@@ -162,7 +162,9 @@ export class Compiler {
_.forEach(fileNames, fileName => {
this._setSourceTreeHash(fileName);
});
- await Promise.all(_.map(fileNames, async fileName => this._compileContractAsync(fileName)));
+ for (const fileName of fileNames) {
+ await this._compileContractAsync(fileName);
+ }
this._solcErrors.forEach(errMsg => {
logUtils.log(errMsg);
});