Skip to content

Commit

Permalink
refactor: fixing typos and adding build prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
KaueSabinoSRV17 committed Jul 3, 2023
1 parent 4e0d0cf commit 06216f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions use_cases/conventional_commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func GetUnstaggedFiles(worktree *git.Worktree) []string {
func AskWhatFilesToAddForStaging(files []string) []string {
var filesToAdd []string
prompt := &survey.MultiSelect{
Message: "Chose the files to stage",
Message: "Chose the files to stage:",
Options: files,
}
err := survey.AskOne(prompt, &filesToAdd)
Expand All @@ -70,7 +70,7 @@ func AskCommitPrefix() string {
err := survey.AskOne(
&survey.Select{
Message: "Select a Prefix for the commit:",
Options: []string{"chore", "feat", "fix", "refactor", "tests", "docs"},
Options: []string{"chore", "feat", "fix", "refactor", "tests", "docs", "build"},
},
&prefix,
)
Expand All @@ -88,7 +88,7 @@ func ResolveCommitMessage() string {
var message string
err := survey.AskOne(
&survey.Input{
Message: "What did you do? (Commit Message)",
Message: "What did you do? (Commit Message):",
},
&message,
)
Expand Down

0 comments on commit 06216f4

Please sign in to comment.