Early return if no sol files

This commit is contained in:
Jonathan Rainville 2018-05-17 09:48:01 -04:00
parent c4c6b0fb7d
commit bcb7c80758

View File

@ -12,6 +12,9 @@ class Solidity {
}
compile_solidity(contractFiles, cb) {
if (!contractFiles.length) {
return cb();
}
let self = this;
let input = {};
let solcW;