Skip to content

Commit c4872d3

Browse files
authored
Use fmt not log for printing error output (#10)
1 parent fbdff27 commit c4872d3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cmd/git-pair/main.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package main
33
import (
44
"errors"
55
"fmt"
6-
"log"
76
"os"
87

98
"github.com/inverse/git-pair/internal/diagnostics"
@@ -58,7 +57,7 @@ func main() {
5857
}
5958

6059
if err := app.Run(os.Args); err != nil {
61-
log.Fatal(err)
60+
fmt.Println(err)
6261
}
6362
}
6463

0 commit comments

Comments
 (0)