Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 48d3e2b

Browse files
author
Alan Shaw
authored
fix: sharness tests (#1787)
Prevents passing "" as the config option which then is validated and fails.
1 parent 70a8cfe commit 48d3e2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli/commands/init.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = {
4444
repo: new Repo(path),
4545
init: false,
4646
start: false,
47-
config: argv.config
47+
config: argv.config || {}
4848
})
4949

5050
node.init({

0 commit comments

Comments
 (0)