mirror of https://github.com/embarklabs/embark.git
take into account when no cmds are specified
This commit is contained in:
parent
76203e43e3
commit
14560913b6
|
@ -125,7 +125,7 @@ Deploy.prototype.deploy_contracts = function(env) {
|
|||
};
|
||||
|
||||
Deploy.prototype.execute_cmds = function(cmds) {
|
||||
if (cmds.length === 0) return;
|
||||
if (cmds == undefined || cmds.length === 0) return;
|
||||
|
||||
eval(this.generate_abi_file());
|
||||
for (var i = 0; i < cmds.length; i++) {
|
||||
|
|
Loading…
Reference in New Issue