Skip to content

Commit

Permalink
Switched double negative to condition
Browse files Browse the repository at this point in the history
  • Loading branch information
asselstine committed Sep 24, 2020
1 parent c26554d commit ade6007
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion buidler.config.js
Expand Up @@ -27,7 +27,8 @@ task(TASK_COMPILE_GET_COMPILER_INPUT).setAction(async (_, __, runSuper) => {
process.exit(1)
}
const input = await runSuper();
input.settings.metadata.useLiteralContent = !process.env.DO_NOT_USE_LITERAL_CONTENT;
input.settings.metadata.useLiteralContent = process.env.USE_LITERAL_CONTENT != 'false';
console.log(`useLiteralContent: ${input.settings.metadata.useLiteralContent}`)
return input;
})

Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -14,7 +14,7 @@
"test": "OPTIMIZER_DISABLED=true buidler test",
"compile": "buidler --show-stack-traces --max-memory 8192 compile",
"start": "rm -rf deployments/localhost_31337; buidler node",
"coverage": "DO_NOT_USE_LITERAL_CONTENT=true rm -rf build cache test-results.xml && buidler coverage --network coverage --temp build",
"coverage": "USE_LITERAL_CONTENT=false rm -rf build cache test-results.xml && buidler coverage --network coverage --temp build",
"gas": "REPORT_GAS=true buidler test --network localhost",
"deploy": "buidler deploy --write true --network",
"deploy-drips": "buidler run ./js/deployDripTokens.js --network",
Expand Down

0 comments on commit ade6007

Please sign in to comment.