Skip to content

Commit

Permalink
Remove extraneous argument from setOptions call sites in OptionsDefau…
Browse files Browse the repository at this point in the history
…lter
  • Loading branch information
mohsen1 committed Mar 27, 2018
1 parent fc2feaf commit 165a2ed
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/OptionsDefaulter.js
Expand Up @@ -43,17 +43,15 @@ class OptionsDefaulter {
setProperty(
options,
name,
this.defaults[name].call(this, getProperty(options, name), options),
options
this.defaults[name].call(this, getProperty(options, name), options)
);
break;
case "make":
if (getProperty(options, name) === undefined)
setProperty(
options,
name,
this.defaults[name].call(this, options),
options
this.defaults[name].call(this, options)
);
break;
case "append": {
Expand Down

0 comments on commit 165a2ed

Please sign in to comment.