mirror of https://github.com/embarklabs/embark.git
fixes async on blockchains
This commit is contained in:
parent
3e0e1fda0c
commit
af4cacf496
|
@ -37,7 +37,7 @@ var Blockchain = function(options) {
|
|||
|
||||
Blockchain.prototype.runCommand = function(cmd) {
|
||||
console.log(("running: " + cmd.underline).green);
|
||||
return shelljs.exec(cmd, {async:true});
|
||||
return shelljs.exec(cmd);
|
||||
};
|
||||
|
||||
Blockchain.prototype.run = function() {
|
||||
|
@ -49,7 +49,7 @@ Blockchain.prototype.run = function() {
|
|||
console.log("===============================================================================".magenta);
|
||||
var address = this.initChainAndGetAddress();
|
||||
this.client.mainCommand(address, function(cmd) {
|
||||
self.runCommand(cmd);
|
||||
self.runCommand(cmd, {async:true});
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue