diff options
author | F. Eugene Aumson <gene@aumson.org> | 2018-08-17 01:48:33 +0800 |
---|---|---|
committer | F. Eugene Aumson <gene@aumson.org> | 2018-08-17 01:48:33 +0800 |
commit | a607a61bde1677833a04765b8691184c49b04213 (patch) | |
tree | 6218ec48dc83cb051a7a7198a21bc3750d32010c /packages | |
parent | 421a7394dfcbc714b35ada8f8d8a9945b989d3c7 (diff) | |
download | dexon-sol-tools-a607a61bde1677833a04765b8691184c49b04213.tar dexon-sol-tools-a607a61bde1677833a04765b8691184c49b04213.tar.gz dexon-sol-tools-a607a61bde1677833a04765b8691184c49b04213.tar.bz2 dexon-sol-tools-a607a61bde1677833a04765b8691184c49b04213.tar.lz dexon-sol-tools-a607a61bde1677833a04765b8691184c49b04213.tar.xz dexon-sol-tools-a607a61bde1677833a04765b8691184c49b04213.tar.zst dexon-sol-tools-a607a61bde1677833a04765b8691184c49b04213.zip |
clarify iteration range
Diffstat (limited to 'packages')
-rw-r--r-- | packages/sol-compiler/src/compiler.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/sol-compiler/src/compiler.ts b/packages/sol-compiler/src/compiler.ts index 713d8abe8..bb870e0cf 100644 --- a/packages/sol-compiler/src/compiler.ts +++ b/packages/sol-compiler/src/compiler.ts @@ -197,7 +197,8 @@ export class Compiler { versionToInputs[solcVersion].contractsToCompile.push(contractSource.path); } - for (const solcVersion of _.keys(versionToInputs)) { + const solcVersions = _.keys(versionToInputs); + for (const solcVersion of solcVersions) { const input = versionToInputs[solcVersion]; logUtils.log( `Compiling ${input.contractsToCompile.length} contracts (${ |