Skip to content

Commit 37fbc80

Browse files
jrainvilleiurimatias
authored andcommitted
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
1 parent f5db3f6 commit 37fbc80

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/plugins/ganache/src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class Ganache {
1717
});
1818
},
1919
launchFn: (cb) => {
20+
this._registerStatusCheck();
2021
this._getProvider(); // No need to return anything, we just want to populate currentProvider
2122
this.embark.logger.info(__('Blockchain node is ready').cyan);
2223
cb();
@@ -39,8 +40,6 @@ class Ganache {
3940
});
4041
}
4142
});
42-
43-
this._registerStatusCheck();
4443
}
4544

4645
_getProvider() {

0 commit comments

Comments
 (0)