Skip to content

Commit ab4660b

Browse files
committed
Fix codefactor issue
1 parent 7e27a6f commit ab4660b

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

cmd/create.go

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,20 @@ func runCreateCmd(cmd *cobra.Command, args []string) error {
3838
// Start message.
3939
cgapp.ShowMessage(
4040
"",
41-
fmt.Sprintf("Create a new project via Create Go App CLI v%v...", registry.CLIVersion),
41+
fmt.Sprintf(
42+
"Create a new project via Create Go App CLI v%v...",
43+
registry.CLIVersion,
44+
),
4245
true, true,
4346
)
4447

4548
// Start survey.
4649
if useCustomTemplate {
4750
// Custom survey.
4851
if err := survey.Ask(
49-
registry.CustomCreateQuestions, &customCreateAnswers, survey.WithIcons(surveyIconsConfig),
52+
registry.CustomCreateQuestions,
53+
&customCreateAnswers,
54+
survey.WithIcons(surveyIconsConfig),
5055
); err != nil {
5156
return cgapp.ShowError(err.Error())
5257
}
@@ -58,7 +63,9 @@ func runCreateCmd(cmd *cobra.Command, args []string) error {
5863
} else {
5964
// Default survey.
6065
if err := survey.Ask(
61-
registry.CreateQuestions, &createAnswers, survey.WithIcons(surveyIconsConfig),
66+
registry.CreateQuestions,
67+
&createAnswers,
68+
survey.WithIcons(surveyIconsConfig),
6269
); err != nil {
6370
return cgapp.ShowError(err.Error())
6471
}

0 commit comments

Comments
 (0)