Skip to content

Commit

Permalink
Fix conditional method call in setOptionValueWithSource()
Browse files Browse the repository at this point in the history
  • Loading branch information
aweebit committed Jul 30, 2023
1 parent 274be1a commit 56eed63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
const set = this._asyncParsing === undefined
? this._setPersistentOptionValueWithSource
: this._setNonPersistentOptionValueWithSource;
set(key, value, source);
set.call(this, key, value, source);
return this;
}

Expand Down

0 comments on commit 56eed63

Please sign in to comment.