Skip to content

Commit

Permalink
Merge 060515d into 4aa2cb9
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima committed Feb 2, 2020
2 parents 4aa2cb9 + 060515d commit ab6dd5f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Expand Up @@ -162,7 +162,7 @@ exports.createDummyGenerator = () =>
*/

exports.createGenerator = function(name, dependencies, args, options) {
var env = yeoman.createEnv();
var env = yeoman.createEnv([], { sharedOptions: { localConfigOnly: true } });
this.registerDependencies(env, dependencies);

return env.create(name, { arguments: args, options: options });
Expand Down
2 changes: 1 addition & 1 deletion lib/run-context.js
Expand Up @@ -83,7 +83,7 @@ RunContext.prototype._run = function() {
var namespace;
this.env = (this.envCB || (env => env)).call(
this,
yeoman.createEnv([], {}, new TestAdapter())
yeoman.createEnv([], { sharedOptions: { localConfigOnly: true } }, new TestAdapter())
);

helpers.registerDependencies(this.env, this.dependencies);
Expand Down

0 comments on commit ab6dd5f

Please sign in to comment.