浏览代码

fix: remove artifacts after solcov is run

Paul Razvan Berg 5 年之前
父节点
当前提交
6ee98ed081
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      .solcover.js

+ 2 - 0
.solcover.js

@@ -9,6 +9,8 @@ module.exports = {
     await run("typechain");
   },
   onIstanbulComplete: async function (_config) {
+    /* We need to do this because solcover generates bespoke artifacts. */
+    shell.rm("-rf", "./artifacts");
     shell.rm("-rf", "./typechain");
   },
   skipFiles: ["mocks", "test"],