Skip to content

Commit

Permalink
Make the coverage.js run in node 4 still
Browse files Browse the repository at this point in the history
  • Loading branch information
mweibel committed Aug 17, 2016
1 parent 202680a commit ec909b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coverage.js
Expand Up @@ -5,7 +5,7 @@

const fs = require('fs');
const rimraf = require('rimraf');
const { execSync } = require('child_process');
const execSync = require('child_process').execSync;

console.log('Executing coverage.js');

Expand All @@ -16,7 +16,7 @@ fs.writeFileSync('./package.json', JSON.stringify(packageJson, null, 2));

console.log('* Updated package.json');

rimraf('./dist', () => {
rimraf('./dist', function() {
console.log('* Removed ./dist folder');

execSync('./node_modules/.bin/babel-istanbul cover --report lcovonly -x \'**/examples/**\'' +
Expand Down

0 comments on commit ec909b5

Please sign in to comment.