@@ -43,7 +43,6 @@ func runCommit(cmd *cobra.Command, args []string) {
43
43
if err != nil || diff == "" {
44
44
fmt .Println ("😰 Commitment issues detected: You're not ready to commit... anything." )
45
45
fmt .Println ("(Stage some changes first!)" )
46
- fmt .Println ()
47
46
os .Exit (1 )
48
47
}
49
48
@@ -52,7 +51,6 @@ func runCommit(cmd *cobra.Command, args []string) {
52
51
if err != nil {
53
52
fmt .Println ("😰 Commitment issues detected: You haven't booked your first therapy session!" )
54
53
fmt .Println ("(Run 'git kommit init' to get on the calendar.)" )
55
- fmt .Println ()
56
54
if Verbose {
57
55
log .Printf ("Error loading config: %v" , err )
58
56
}
@@ -110,7 +108,6 @@ func runCommit(cmd *cobra.Command, args []string) {
110
108
tempFile , err := os .CreateTemp ("" , ".kommit-msg-*.txt" )
111
109
if err != nil {
112
110
fmt .Println ("😰 Commitment issues detected: Refusing to prepare temporary paperwork!" )
113
- fmt .Println ()
114
111
if Verbose {
115
112
log .Printf ("Error creating temp file: %v" , err )
116
113
}
@@ -122,7 +119,6 @@ func runCommit(cmd *cobra.Command, args []string) {
122
119
if _ , err := tempFile .WriteString (commitMessage ); err != nil {
123
120
tempFile .Close ()
124
121
fmt .Println ("😰 Commitment issues detected: Refusing to fill the temporary paperwork!" )
125
- fmt .Println ()
126
122
if Verbose {
127
123
log .Printf ("Error writing to temp file: %v" , err )
128
124
}
@@ -138,7 +134,6 @@ func runCommit(cmd *cobra.Command, args []string) {
138
134
err = cmd .Run ()
139
135
if err != nil {
140
136
fmt .Println ("😰 Commitment issues detected: Refusing to commit!" )
141
- fmt .Println ()
142
137
if Verbose {
143
138
log .Printf ("Error committing: %v" , err )
144
139
}
@@ -151,7 +146,6 @@ func runCommit(cmd *cobra.Command, args []string) {
151
146
tempFile , err := os .CreateTemp ("" , ".kommit-msg-*.txt" )
152
147
if err != nil {
153
148
fmt .Println ("😰 Commitment issues detected: Couldn't prepare your self-therapy materials!" )
154
- fmt .Println ()
155
149
if Verbose {
156
150
log .Printf ("Error creating temp file: %v" , err )
157
151
}
@@ -164,7 +158,6 @@ func runCommit(cmd *cobra.Command, args []string) {
164
158
if _ , err := tempFile .WriteString (commitMessage ); err != nil {
165
159
tempFile .Close ()
166
160
fmt .Println ("😰 Commitment issues detected: Couldn't write your therapy starting notes!" )
167
- fmt .Println ()
168
161
if Verbose {
169
162
log .Printf ("Error writing to temp file: %v" , err )
170
163
}
@@ -194,7 +187,6 @@ func runCommit(cmd *cobra.Command, args []string) {
194
187
runCommit (cmd , args )
195
188
case " No, I'm terminating this therapy session (exit)" :
196
189
fmt .Println ("🧐 You're on your own path now. Call if your commitment issues return!" )
197
- fmt .Println ()
198
190
os .Exit (0 )
199
191
}
200
192
}
0 commit comments