Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentsimon committed Sep 9, 2022
1 parent d87ed4f commit f17309c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion github/github.go
Expand Up @@ -91,11 +91,12 @@ func (c *Client) ParseFromURL(baseRepoURL, repoName string) (RepoInfo, error) {
}

log.Printf("getting repo info from URL: %s", repoURL.String())
//nolint:noctx
req, err := http.NewRequestWithContext(
c.ctx,
http.MethodGet,
repoURL.String(),
nil /*body*/) //nolint
nil /*body*/)
if err != nil {
return ret, fmt.Errorf("error creating request: %w", err)
}
Expand Down

0 comments on commit f17309c

Please sign in to comment.