Skip to content

Commit d574846

Browse files
committed
misc(generators): refactor init-generator
1 parent 17e4511 commit d574846

File tree

2 files changed

+235
-341
lines changed

2 files changed

+235
-341
lines changed

packages/generators/add-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ export default class AddGenerator extends Generator {
140140
.then(
141141
(entryTypeAnswer: { entryType: boolean }): Promise<void | {}> => {
142142
// Ask different questions for entry points
143-
return entryQuestions(self, entryTypeAnswer);
143+
return entryQuestions(self, entryTypeAnswer.entryType);
144144
}
145145
)
146146
.then(

0 commit comments

Comments
 (0)