Эх сурвалжийг харах

fix: remove artifacts after solcov is run

Paul Razvan Berg 5 жил өмнө
parent
commit
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"],