Early return if no sol files

This commit is contained in:
Jonathan Rainville 2018-05-17 09:48:01 -04:00
parent 4795dc8edc
commit 3a25a21b71
1 changed files with 3 additions and 0 deletions

View File

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