Skip to content

Commit b8aa69d

Browse files
committed
chore(index): update inline comment
1 parent 439879f commit b8aa69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function parseOptions(acceptedOptions, options, version) {
7979
const acceptedOption = acceptedOptions[key];
8080

8181
if (acceptedOption.type === typeof option) {
82-
// Skip boolean options if false
82+
// Only add arg if option is truthy (skips false/undefined booleans)
8383
if (option) {
8484
args.push(acceptedOption.arg);
8585
}

0 commit comments

Comments
 (0)