Merge pull request #1126 from spotify/freben/clean-coverage

feat(cli): delete coverage dir during clean
This commit is contained in:
Fredrik Adelöw
2020-06-03 15:11:21 +02:00
committed by GitHub
+1
View File
@@ -24,6 +24,7 @@ export default async function clean() {
const packagePath = getPackagePath(cacheOptions.cacheDir);
await fs.remove(cacheOptions.output);
await fs.remove(packagePath);
await fs.remove(paths.resolveTarget('coverage'));
}
function getPackagePath(cacheDir: string) {