mirror of https://github.com/embarklabs/embark.git
always use Embark's own ganache-cli (embark-ganache-cli)
This commit is contained in:
parent
6d1dfd3581
commit
0180bb7cb2
|
@ -14,7 +14,7 @@ class Simulator {
|
||||||
let cmds = [];
|
let cmds = [];
|
||||||
|
|
||||||
const testrpc = shelljs.which('testrpc');
|
const testrpc = shelljs.which('testrpc');
|
||||||
const ganache = shelljs.which('ganache-cli') || shelljs.which('embark-ganache-cli');
|
const ganache = shelljs.which('embark-ganache-cli');
|
||||||
if (!testrpc && !ganache) {
|
if (!testrpc && !ganache) {
|
||||||
this.logger.warn(__('%s is not installed on your machine', 'Ganache CLI (TestRPC)'));
|
this.logger.warn(__('%s is not installed on your machine', 'Ganache CLI (TestRPC)'));
|
||||||
this.logger.info(__('You can install it by running: %s', 'npm -g install ganache-cli'));
|
this.logger.info(__('You can install it by running: %s', 'npm -g install ganache-cli'));
|
||||||
|
|
Loading…
Reference in New Issue