mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-12 15:04:29 +00:00
Merge pull request #598 from embark-framework/geth_fix
ignore stderr since geth outputs normal logs to it
This commit is contained in:
commit
dbc18fddfa
@ -194,7 +194,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…
x
Reference in New Issue
Block a user