Skip to content

Commit

Permalink
Merge pull request #107 from deme0607/master
Browse files Browse the repository at this point in the history
add trailing slash to GitHub default BaseURL
  • Loading branch information
haya14busa committed Aug 16, 2017
2 parents 5e1eb30 + e7792b4 commit d6e90f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/reviewdog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ func githubClient(ctx context.Context, token string) (*github.Client, error) {
return client, err
}

const defaultGitHubAPI = "https://api.github.com"
const defaultGitHubAPI = "https://api.github.com/"

func githubBaseURL() (*url.URL, error) {
baseURL := os.Getenv("GITHUB_API")
Expand Down

0 comments on commit d6e90f2

Please sign in to comment.