File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ import (
2525)
2626
2727func PrintError (err error , strs ... string ) {
28- os .Stderr .WriteString (ErrorStr (err , strs ... ))
28+ os .Stderr .WriteString (ErrorStr (err , strs ... ) + " \n " )
2929 // PrintStacktrace(err)
3030}
3131
Original file line number Diff line number Diff line change @@ -45,14 +45,14 @@ func StderrBoldFirstLine(msg string) {
4545 msgParts := strings .Split (msg , "\n " )
4646
4747 if len (msgParts [0 ]) > _maxBoldLength {
48- os .Stderr .WriteString (msg )
48+ os .Stderr .WriteString (msg + " \n " )
4949 return
5050 }
5151
52- os .Stderr .WriteString (console .Bold (msgParts [0 ]))
52+ os .Stderr .WriteString (console .Bold (msgParts [0 ]) + " \n " )
5353
5454 if len (msgParts ) > 1 {
55- os .Stderr .WriteString (strings .Join (msgParts [1 :], "\n " ))
55+ os .Stderr .WriteString (strings .Join (msgParts [1 :], "\n " ) + " \n " )
5656 }
5757}
5858
You can’t perform that action at this time.
0 commit comments