From 48d3e2b469356edb58f72e5341ccfcdc487a6d5f Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Wed, 19 Dec 2018 12:40:00 +0000 Subject: [PATCH] fix: sharness tests (#1787) Prevents passing "" as the config option which then is validated and fails. --- src/cli/commands/init.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/commands/init.js b/src/cli/commands/init.js index 9ff0cdef6a..9df7b199cc 100644 --- a/src/cli/commands/init.js +++ b/src/cli/commands/init.js @@ -44,7 +44,7 @@ module.exports = { repo: new Repo(path), init: false, start: false, - config: argv.config + config: argv.config || {} }) node.init({