Skip to content

Commit

Permalink
script: Trivial lint error in changelog.go
Browse files Browse the repository at this point in the history
  • Loading branch information
calmh committed Jul 7, 2017
1 parent c77490c commit 5a38e0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions script/changelog.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ func runError(cmd string, args ...string) ([]byte, error) {

func githubIssueTitle(n int) (string, error) {
req, err := http.NewRequest("GET", fmt.Sprintf("https://api.github.com/repos/syncthing/syncthing/issues/%d", n), nil)
if err != nil {
return "", err
}

user, token := os.Getenv("GITHUB_USERNAME"), os.Getenv("GITHUB_TOKEN")
if user != "" && token != "" {
Expand Down

0 comments on commit 5a38e0b

Please sign in to comment.