1
0
Fork 0
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:
Knut Ahlers 2019-08-16 23:10:17 +02:00
parent bae42d74a1
commit ffc2c0d7f4
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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")
}