mirror of https://github.com/embarklabs/embark.git
program -> program, programName
This commit is contained in:
parent
36b52742bf
commit
db7553cf0f
|
@ -45,8 +45,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