Skip to content

Commit

Permalink
fix(@embark/ganache): fix status when ganache is not the client
Browse files Browse the repository at this point in the history
We registered the status check for Ganache even when Ganache was not
the client
  • Loading branch information
jrainville authored and iurimatias committed Feb 18, 2020
1 parent f5db3f6 commit 37fbc80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/plugins/ganache/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -39,8 +40,6 @@ class Ganache {
});
}
});

this._registerStatusCheck();
}

_getProvider() {
Expand Down

0 comments on commit 37fbc80

Please sign in to comment.