소스 검색

fix: re-enable cleaning of coverage files

Tom French 4 년 전
부모
커밋
87a4060123
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tasks/clean.ts

+ 2 - 2
tasks/clean.ts

@@ -3,8 +3,8 @@ import { TASK_CLEAN } from "hardhat/builtin-tasks/task-names";
 import { task } from "hardhat/config";
 
 task(TASK_CLEAN, "Overrides the standard clean task", async function (_taskArgs, { config }, runSuper) {
-  // await fsExtra.remove(config.paths.coverage);
-  // await fsExtra.remove(config.paths.coverageJson);
+  await fsExtra.remove("./coverage");
+  await fsExtra.remove("./coverage.json");
   if (config.typechain?.outDir) {
     await fsExtra.remove(config.typechain.outDir);
   }