summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike JS. Choi <mkchoi212@icloud.com>2018-01-02 20:08:25 -0600
committerMike JS. Choi <mkchoi212@icloud.com>2018-01-02 20:08:25 -0600
commitcb37a3061c46b30379af582be5a641222348500c (patch)
treed7e029078ab0bf3613ce7a13a8d4a0f14048da43
parent5a9aa172e9f0c7e53e6defccf550a7a3d91f05b9 (diff)
Print newline when printing error message on exit
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index fee6cce..411f76e 100644
--- a/main.go
+++ b/main.go
@@ -98,7 +98,7 @@ func main() {
case *conflict.ErrNoConflict:
fmt.Println(color.Green(color.Regular, err.Error()))
default:
- fmt.Print(color.Red(color.Regular, err.Error()))
+ fmt.Println(color.Red(color.Regular, err.Error()))
}
return
}