mirror of https://github.com/embarklabs/embark.git
Early return if no sol files
This commit is contained in:
parent
4795dc8edc
commit
3a25a21b71
|
@ -12,6 +12,9 @@ class Solidity {
|
||||||
}
|
}
|
||||||
|
|
||||||
compile_solidity(contractFiles, cb) {
|
compile_solidity(contractFiles, cb) {
|
||||||
|
if (!contractFiles.length) {
|
||||||
|
return cb();
|
||||||
|
}
|
||||||
let self = this;
|
let self = this;
|
||||||
let input = {};
|
let input = {};
|
||||||
let solcW;
|
let solcW;
|
||||||
|
|
Loading…
Reference in New Issue