Fix merr.Error.FullString

This commit is contained in:
Brian Picciano 2023-12-26 17:03:38 +01:00
parent e8376ef263
commit 0b5bdf3dfb

View File

@ -50,7 +50,7 @@ func (e Error) FullError() string {
sb.WriteString(": ")
// if there's no newlines then print v inline with k
if strings.Contains(v, "\n") {
if !strings.Contains(v, "\n") {
sb.WriteString(v)
continue
}