mirror of
https://github.com/Luzifer/sri.git
synced 2024-11-08 14:50:12 +00:00
Thanks for the warning gosec but this is by intention
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
bae42d74a1
commit
ffc2c0d7f4
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -69,7 +69,7 @@ func main() {
|
|||
}
|
||||
|
||||
func sriIntegrity(url string) (string, error) {
|
||||
resp, err := http.Get(url)
|
||||
resp, err := http.Get(url) //#nosec G107 -- The while intention of this tool is to download files
|
||||
if err != nil {
|
||||
return "", errors.Wrap(err, "Unable to get URL contents")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue