Skip to content

Commit

Permalink
Coverage metadata fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MickdeGraaf committed Sep 15, 2020
1 parent 8f9d060 commit 5d44f96
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions buidler.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ const config: ExtendedBuidlerConfig = {
},
};

// Coverage fix
const {TASK_COMPILE_GET_COMPILER_INPUT} = require("@nomiclabs/buidler/builtin-tasks/task-names");
task(TASK_COMPILE_GET_COMPILER_INPUT).setAction(async (_, __, runSuper) => {
const input = await runSuper();
input.settings.metadata.useLiteralContent = false;
return input;
});

task("deploy-pie-smart-pool-factory", "deploys a pie smart pool factory")
.addParam("balancerFactory", "Address of the balancer factory")
.setAction(async(taskArgs, { ethers, run }) => {
Expand Down

0 comments on commit 5d44f96

Please sign in to comment.