From 5e1f53a7d8ab8d18ecad60c52a174a90a4b50373 Mon Sep 17 00:00:00 2001 From: "Michael Bradley, Jr" Date: Wed, 11 Jul 2018 10:32:00 -0500 Subject: [PATCH] check for ganache-cli on PATH and fallback to embark-ganache-cli --- lib/cmds/simulator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cmds/simulator.js b/lib/cmds/simulator.js index 511bd2bf5..2e50feac2 100644 --- a/lib/cmds/simulator.js +++ b/lib/cmds/simulator.js @@ -13,7 +13,7 @@ class Simulator { let cmds = []; const testrpc = shelljs.which('testrpc'); - const ganache = shelljs.which('ganache-cli'); + const ganache = shelljs.which('ganache-cli') || shelljs.which('embark-ganache-cli'); if (!testrpc && !ganache) { 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'));