mirror of https://github.com/embarklabs/embark.git
dont' need shelljs.which, can directly invoke embark's node_modules/.bin/ganache-cli
This commit is contained in:
parent
8fe2109338
commit
fa94d3c79a
|
@ -1,3 +1,4 @@
|
|||
const path = require('path');
|
||||
let shelljs = require('shelljs');
|
||||
let proxy = require('../core/proxy');
|
||||
const Ipc = require('../core/ipc');
|
||||
|
@ -13,7 +14,7 @@ class Simulator {
|
|||
run(options) {
|
||||
let cmds = [];
|
||||
|
||||
const ganache = shelljs.which('ganache-cli-embark');
|
||||
const ganache = path.join(__dirname, '../../node_modules/.bin/ganache-cli');
|
||||
// const testrpc = shelljs.which('testrpc');
|
||||
// const ganache = shelljs.which('ganache-cli');
|
||||
// if (!testrpc && !ganache) {
|
||||
|
|
Loading…
Reference in New Issue