Skip to content

Commit

Permalink
🎨 fmt->log in changelog.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jimschubert committed Mar 22, 2020
1 parent b2eb260 commit 9990aad
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions changelog.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package changelog
import (
"bytes"
"context"
"fmt"
"io"
"io/ioutil"
"os"
Expand Down Expand Up @@ -53,7 +52,7 @@ func (c *Changelog) Generate(writer io.Writer) error {
ctx := context.Background()
token, found := os.LookupEnv("GITHUB_TOKEN")
if !found {
fmt.Println("Environment variable GITHUB_TOKEN not found.")
log.Fatal("Environment variable GITHUB_TOKEN not found.")
os.Exit(1)
}

Expand Down

0 comments on commit 9990aad

Please sign in to comment.