use for...of _.keys
instead of for...in
This commit is contained in:
parent
8959b0993e
commit
ec41e314b0
@ -209,11 +209,7 @@ export class Compiler {
|
||||
versionToInputs[solcVersion].contractsToCompile.push(contractSource.path);
|
||||
}
|
||||
|
||||
for (const solcVersion in versionToInputs) {
|
||||
if (!versionToInputs.hasOwnProperty(solcVersion)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
for (const solcVersion of _.keys(versionToInputs)) {
|
||||
const input = versionToInputs[solcVersion];
|
||||
logUtils.log(
|
||||
`Compiling ${input.contractsToCompile.length} contracts (${
|
||||
|
Loading…
x
Reference in New Issue
Block a user