From c4872d395b1bf968698f9c6534b516b5fafe108f Mon Sep 17 00:00:00 2001 From: Malachi Soord Date: Tue, 30 May 2023 21:44:12 +0200 Subject: [PATCH] Use fmt not log for printing error output (#10) --- cmd/git-pair/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/git-pair/main.go b/cmd/git-pair/main.go index de4375f..d4fda44 100644 --- a/cmd/git-pair/main.go +++ b/cmd/git-pair/main.go @@ -3,7 +3,6 @@ package main import ( "errors" "fmt" - "log" "os" "github.com/inverse/git-pair/internal/diagnostics" @@ -58,7 +57,7 @@ func main() { } if err := app.Run(os.Args); err != nil { - log.Fatal(err) + fmt.Println(err) } }