Skip to content

Commit

Permalink
Merge pull request backstage#1126 from spotify/freben/clean-coverage
Browse files Browse the repository at this point in the history
feat(cli): delete coverage dir during clean
  • Loading branch information
freben authored Jun 3, 2020
2 parents 5b9f77f + 4da5cac commit 6d879d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/commands/clean/clean.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6d879d0

Please sign in to comment.