mirror of
https://github.com/charmbracelet/glow.git
synced 2026-08-24 00:54:17 +02:00
chore: fmt & lint issues
This commit is contained in:
parent
60d98a01e5
commit
4dd3ba1d3c
19 changed files with 69 additions and 72 deletions
|
|
@ -33,6 +33,8 @@ func findGitHubREADME(s string) (*source, error) {
|
|||
v := u
|
||||
v.Path += "/master/" + r
|
||||
|
||||
// nolint:bodyclose
|
||||
// it is closed on the caller
|
||||
resp, err := http.Get(v.String())
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue