mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-02 22:50:18 +00:00
script: Trivial lint error in changelog.go
This commit is contained in:
parent
c77490c32d
commit
5a38e0ba3f
@ -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 != "" {
|
||||
|
Loading…
Reference in New Issue
Block a user