Skip to content

Commit

Permalink
Use fmt not log for printing error output (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
inverse authored May 30, 2023
1 parent fbdff27 commit c4872d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/git-pair/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package main
import (
"errors"
"fmt"
"log"
"os"

"github.com/inverse/git-pair/internal/diagnostics"
Expand Down Expand Up @@ -58,7 +57,7 @@ func main() {
}

if err := app.Run(os.Args); err != nil {
log.Fatal(err)
fmt.Println(err)
}
}

Expand Down

0 comments on commit c4872d3

Please sign in to comment.