From 0c83e90004e9af4eddfd4bca31c234f4a58af843 Mon Sep 17 00:00:00 2001 From: Mudit Gupta Date: Mon, 6 Apr 2020 21:55:23 +0530 Subject: [PATCH] Use empty string for default Buidler cli flag values (#490) --- plugins/buidler.plugin.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/buidler.plugin.js b/plugins/buidler.plugin.js index 4607162..bd4e632 100644 --- a/plugins/buidler.plugin.js +++ b/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; -