We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2223ab3 commit 870d24cCopy full SHA for 870d24c
ref.go
@@ -72,6 +72,7 @@ func (r *Ref) IsValidURI(basepaths ...string) bool {
72
if err != nil {
73
return false
74
}
75
+ defer rr.Body.Close()
76
77
return rr.StatusCode/100 == 2
78
0 commit comments