Merge pull request #114 from sc-forks/instant-death

Register sigint handler immediately
pull/117/head
c-g-e-w-e-k-e- 7 years ago committed by GitHub
commit f1a5410a50
  1. 4
      bin/exec.js

@ -8,6 +8,8 @@ const log = console.log;
const config = reqCwd.silent('./.solcover.js') || {};
const app = new App(config);
death((signal, err) => app.cleanUp(err));
app.generateCoverageEnvironment();
app.instrumentTarget();
app.launchTestrpc()
@ -17,5 +19,5 @@ app.launchTestrpc()
})
.catch(err => log(err));
death((signal, err) => app.cleanUp(err));

Loading…
Cancel
Save