Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
refactor(index): remove unused conditional; all options are binary (#157
)
  • Loading branch information
Fdawgs committed Nov 30, 2021
1 parent aec11c3 commit d563d23
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.js
Expand Up @@ -26,9 +26,6 @@ function parseOptions(acceptedOptions, options, version) {
// eslint-disable-next-line valid-typeof
if (typeof options[key] === acceptedOptions[key].type) {
args.push(acceptedOptions[key].arg);
if (typeof options[key] !== "boolean") {
args.push(options[key]);
}
} else {
invalidArgs.push(
`Invalid value type provided for option '${key}', expected ${
Expand Down

0 comments on commit d563d23

Please sign in to comment.