mirror of https://github.com/embarklabs/embark.git
program -> program, programName
This commit is contained in:
parent
5e1f53a7d8
commit
b98101ea3a
|
@ -44,8 +44,9 @@ class Simulator {
|
|||
cmds.push("-b \"" + (simulatorBlocktime) +"\"");
|
||||
}
|
||||
|
||||
const program = ganache ? 'ganache-cli' : 'testrpc';
|
||||
console.log(`running: ${program} ${cmds.join(' ')}`);
|
||||
const programName = ganache ? 'ganache-cli' : 'testrpc';
|
||||
const program = ganache ? ganache : testrpc;
|
||||
console.log(`running: ${programName} ${cmds.join(' ')}`);
|
||||
shelljs.exec(`${program} ${cmds.join(' ')}`, {async : true});
|
||||
|
||||
if(useProxy){
|
||||
|
|
Loading…
Reference in New Issue