Skip to content

Commit

Permalink
style(index): fix whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Feb 23, 2024
1 parent 71720b7 commit 3cf93e0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,11 @@ function parseOptions(acceptedOptions, options, version) {
// eslint-disable-next-line valid-typeof -- `type` is a string
if (acceptedOptions[key].type === typeof options[key]) {
// Skip boolean options if false

if (acceptedOptions[key].type === "boolean" && !options[key]) {
return;
}
// Arg will be empty for some non-standard options

// Arg will be empty for some non-standard options
if (acceptedOptions[key].arg !== "") {
args.push(acceptedOptions[key].arg);
}
Expand Down

0 comments on commit 3cf93e0

Please sign in to comment.