We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4aacdf commit d5489b8Copy full SHA for d5489b8
cmd/commit.go
@@ -144,7 +144,7 @@ var commitCmd = &cobra.Command{
144
}
145
146
log.Debug("Sending diff to Otto...")
147
- fmt.Print("Commit Msg: ")
+ utils.PrintColoredText("Commit Msg: ", conf.OttoColor)
148
stream, err := ai.CommitMessage(diff, conventional, conf)
149
if err != nil {
150
log.Error(err)
@@ -166,7 +166,7 @@ var commitCmd = &cobra.Command{
166
newMsg = strings.Split(msg, ".")[0]
167
168
if len(newMsg) != len(msg) {
169
- fmt.Println("Truncated commit message: ", newMsg)
+ utils.PrintColoredTextLn("Truncated commit message: "+newMsg, conf.OttoColor)
170
msg = newMsg
171
172
0 commit comments