Skip to content

Commit

Permalink
Environment options should take priority over generator options.
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Mar 4, 2021
1 parent c5ba38d commit cfb8daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ class Environment extends Base {
return new Promise((resolve, reject) => {
if (this.conflicter === undefined) {
const conflicterOptions = _.pick(
_.defaults({}, options, this.options),
_.defaults({}, this.options, options),
['force', 'bail', 'ignoreWhitespace', 'dryRun', 'skipYoResolve', 'logCwd']
);
conflicterOptions.cwd = conflicterOptions.logCwd;
Expand Down

0 comments on commit cfb8daf

Please sign in to comment.