Skip to content

Commit

Permalink
Remove low-value argument test (#1701)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Mar 14, 2022
1 parent 1d27078 commit 019499b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/option.js
Expand Up @@ -80,10 +80,6 @@ class Option {
*/

conflicts(names) {
if (!Array.isArray(names) && typeof names !== 'string') {
throw new Error('conflicts() argument must be a string or an array of strings');
}

this.conflictsWith = this.conflictsWith.concat(names);
return this;
}
Expand Down

0 comments on commit 019499b

Please sign in to comment.