Use empty string for default Buidler cli flag values (#490)

pull/494/head
Mudit Gupta 5 years ago committed by GitHub
parent c7848badf9
commit 0c83e90004
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      plugins/buidler.plugin.js

@ -26,9 +26,9 @@ function plugin() {
task("coverage", "Generates a code coverage report for tests")
.addOptionalParam("testfiles", ui.flags.file, null, types.string)
.addOptionalParam("solcoverjs", ui.flags.solcoverjs, null, types.string)
.addOptionalParam('temp', ui.flags.temp, null, types.string)
.addOptionalParam("testfiles", ui.flags.file, "", types.string)
.addOptionalParam("solcoverjs", ui.flags.solcoverjs, "", types.string)
.addOptionalParam('temp', ui.flags.temp, "", types.string)
.setAction(async function(args, env){
let error;
@ -139,4 +139,3 @@ function plugin() {
}
module.exports = plugin;

Loading…
Cancel
Save