Skip to content

Commit

Permalink
Remove "coverage/flow" before every "check:cover" run. (#1953)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jun 6, 2019
1 parent a034dc2 commit b17d5be
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion resources/check-cover.js
Expand Up @@ -10,8 +10,15 @@
'use strict';

const path = require('path');
const { exec, execAsync, writeFile, readdirRecursive } = require('./utils');
const {
exec,
execAsync,
writeFile,
rmdirRecursive,
readdirRecursive,
} = require('./utils');

rmdirRecursive('./coverage/flow');
getFullCoverage()
.then(fullCoverage =>
writeFile(
Expand Down

0 comments on commit b17d5be

Please sign in to comment.