Skip to content

Commit 5800bf4

Browse files
committed
Fix the program overriding options with defaults
1 parent 83cdaba commit 5800bf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/Program.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class Program {
172172
}
173173

174174
return Object.keys(defaults).reduce((carry, option) => {
175-
if (object[option]) {
175+
if (object[option] && object[option] !== defaults[option]) {
176176
carry[option] = object[option];
177177
}
178178

0 commit comments

Comments
 (0)