Skip to content

Commit

Permalink
fix: change ordering of demo-url prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
seantrane committed Oct 24, 2018
1 parent 9ea5490 commit 82fd2df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/shared/yo-repo-prompts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down Expand Up @@ -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();
}
Expand Down

0 comments on commit 82fd2df

Please sign in to comment.