yeoman-environment 3.14.0 → 3.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/environment.js +1 -1
- package/package.json +1 -1
package/lib/environment.js
CHANGED
|
@@ -564,7 +564,7 @@ class Environment extends Base {
|
|
|
564
564
|
|
|
565
565
|
// eslint-disable-next-line node/no-unsupported-features/es-syntax
|
|
566
566
|
const importModule = async () => import(meta.resolved);
|
|
567
|
-
const instantiate = async (args, options) => this.instantiate(this._findGeneratorClass(await meta.importGenerator()), args, options);
|
|
567
|
+
const instantiate = async (args, options) => this.instantiate(await this._findGeneratorClass(await meta.importGenerator()), args, options);
|
|
568
568
|
const instantiateHelp = async () => instantiate([], {help: true});
|
|
569
569
|
const newMeta = {
|
|
570
570
|
...meta,
|