Fix potential fd/http leak
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Elara 2023-10-06 15:53:13 -07:00
parent e3a838f312
commit dbdaaa4184
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ func (FileDownloader) Download(opts Options) (Type, string, error) {
}
r = res.Body
}
defer r.Close()
opts.PostprocDisabled = archive == "false"