yeoman-generator 7.3.1 → 7.3.2
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.
|
@@ -204,6 +204,7 @@ export class TasksMixin {
|
|
|
204
204
|
if (validMethods.length === 0 && this._prompts.length === 0 && !this.customLifecycle) {
|
|
205
205
|
throw new Error('This Generator is empty. Add at least one method for it to run.');
|
|
206
206
|
}
|
|
207
|
+
this.emit('before:queueOwnTasks');
|
|
207
208
|
if (this._prompts.length > 0) {
|
|
208
209
|
this.queueTask({
|
|
209
210
|
method: async () => this.prompt(this._prompts, this.config),
|