change return Promise<void> to await...

This commit is contained in:
F. Eugene Aumson
2018-08-16 10:32:27 -07:00
parent 6b6b368bf6
commit 11231795cd

View File

@@ -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.