mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-24 14:18:57 +00:00
dont' need shelljs.which, can directly invoke embark's node_modules/.bin/ganache-cli
This commit is contained in:
parent
b292c576e0
commit
762bccef35
@ -1,3 +1,4 @@
|
|||||||
|
const path = require('path');
|
||||||
let shelljs = require('shelljs');
|
let shelljs = require('shelljs');
|
||||||
let proxy = require('../core/proxy');
|
let proxy = require('../core/proxy');
|
||||||
const Ipc = require('../core/ipc');
|
const Ipc = require('../core/ipc');
|
||||||
@ -12,7 +13,7 @@ class Simulator {
|
|||||||
run(options) {
|
run(options) {
|
||||||
let cmds = [];
|
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 testrpc = shelljs.which('testrpc');
|
||||||
// const ganache = shelljs.which('ganache-cli');
|
// const ganache = shelljs.which('ganache-cli');
|
||||||
// if (!testrpc && !ganache) {
|
// if (!testrpc && !ganache) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user