Skip to content

Commit

Permalink
misc(generators): refactor init-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
misterdev committed May 28, 2019
1 parent 17e4511 commit d574846
Show file tree
Hide file tree
Showing 2 changed files with 235 additions and 341 deletions.
2 changes: 1 addition & 1 deletion packages/generators/add-generator.ts
Expand Up @@ -140,7 +140,7 @@ export default class AddGenerator extends Generator {
.then(
(entryTypeAnswer: { entryType: boolean }): Promise<void | {}> => {
// Ask different questions for entry points
return entryQuestions(self, entryTypeAnswer);
return entryQuestions(self, entryTypeAnswer.entryType);
}
)
.then(
Expand Down

0 comments on commit d574846

Please sign in to comment.