fix(@embark/ganache): fix status when ganache is not the client

We registered the status check for Ganache even when Ganache was not
the client
This commit is contained in:
Jonathan Rainville 2020-02-18 13:53:43 -05:00 committed by Iuri Matias
parent f5db3f61b6
commit 37fbc80e40
1 changed files with 1 additions and 2 deletions

View File

@ -17,6 +17,7 @@ class Ganache {
});
},
launchFn: (cb) => {
this._registerStatusCheck();
this._getProvider(); // No need to return anything, we just want to populate currentProvider
this.embark.logger.info(__('Blockchain node is ready').cyan);
cb();
@ -39,8 +40,6 @@ class Ganache {
});
}
});
this._registerStatusCheck();
}
_getProvider() {