mirror of https://github.com/embarklabs/embark.git
Merge pull request #599 from embark-framework/geth_fix_dev
Geth fix dev
This commit is contained in:
commit
8345919303
|
@ -222,7 +222,7 @@ Blockchain.prototype.checkPathLength = function() {
|
|||
Blockchain.prototype.isClientInstalled = function(callback) {
|
||||
let versionCmd = this.client.determineVersionCommand();
|
||||
this.runCommand(versionCmd, {}, (err, stdout, stderr) => {
|
||||
if (err || stderr || !stdout || stdout.indexOf("not found") >= 0) {
|
||||
if (err || !stdout || stderr.indexOf("not found") >= 0 || stdout.indexOf("not found") >= 0) {
|
||||
return callback('Geth not found');
|
||||
}
|
||||
callback();
|
||||
|
|
Loading…
Reference in New Issue