From 82fd2df2e35b83659573aa091724337d99f6c547 Mon Sep 17 00:00:00 2001 From: Sean Trane Date: Wed, 24 Oct 2018 17:55:58 -0400 Subject: [PATCH] fix: change ordering of demo-url prompt --- src/shared/yo-repo-prompts.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/shared/yo-repo-prompts.ts b/src/shared/yo-repo-prompts.ts index de96675..0733ff0 100644 --- a/src/shared/yo-repo-prompts.ts +++ b/src/shared/yo-repo-prompts.ts @@ -174,9 +174,6 @@ export class YoRepoPrompts implements YoRepoPromptsInterface { if (!prompts || prompts.packageName) { this.packageName = result.packageName = await this.packageNamePrompt(); } - if (!prompts || prompts.demoUrl) { - this.demoUrl = result.demoUrl = await this.demoUrlPrompt(); - } if (!prompts || prompts.destination) { this.destination = result.destination = await this.destinationPrompt(); } @@ -204,6 +201,9 @@ export class YoRepoPrompts implements YoRepoPromptsInterface { if (!prompts || prompts.homepageUrl) { this.homepageUrl = result.homepageUrl = await this.homepageUrlPrompt(); } + if (!prompts || prompts.demoUrl) { + this.demoUrl = result.demoUrl = await this.demoUrlPrompt(); + } if (!prompts || prompts.installation) { this.installation = result.installation = await this.installationPrompt(); }