Explorar o código

fix: remove artifacts after solcov is run

Paul Razvan Berg %!s(int64=5) %!d(string=hai) anos
pai
achega
6ee98ed081
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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"],