Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
seriouspoop committed Aug 28, 2024
1 parent b42c3fd commit 552d0d1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion svc/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,14 @@ func generateCommitMsg() (string, error) {
commitType = shortner[commitType]
}

promptTemplate := &promptui.PromptTemplates{
Valid: "{{ . }}: ",
Success: "{{ . | green }} {{ . | faint}}{{ `:` | faint}}",
}

message := promptui.Prompt{
Label: "Commit Message",
Label: "Commit Message",
Templates: promptTemplate,
}
msg, err := message.Run()
if err != nil {
Expand Down

0 comments on commit 552d0d1

Please sign in to comment.