Change testrpc path for yarn compatibility

pull/48/head
cgewecke 8 years ago
parent 751a4e23a7
commit ce3342396d
  1. 2
      bin/exec.js

@ -147,7 +147,7 @@ try {
if (!config.norpc) { if (!config.norpc) {
const defaultRpcOptions = `--gasLimit ${gasLimitString} --accounts ${accounts} --port ${port}`; const defaultRpcOptions = `--gasLimit ${gasLimitString} --accounts ${accounts} --port ${port}`;
const testrpcOptions = config.testrpcOptions || defaultRpcOptions; const testrpcOptions = config.testrpcOptions || defaultRpcOptions;
const command = './node_modules/.bin/testrpc-sc '; const command = './node_modules/ethereumjs-testrpc-sc/bin/testrpc ';
testrpcProcess = childprocess.exec(command + testrpcOptions, null, err => { testrpcProcess = childprocess.exec(command + testrpcOptions, null, err => {
if (err) cleanUp('testRpc errored after launching as a childprocess.'); if (err) cleanUp('testRpc errored after launching as a childprocess.');

Loading…
Cancel
Save