"fix" gosec
continuous-integration/drone/pr Build was killed Details

This commit is contained in:
kolaente 2020-06-19 22:41:43 +02:00
parent 0d4500ce15
commit b6fd17ab10
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ func Dump(filename string) {
}
func writeFileToZip(filename string, writer *zip.Writer) error {
// #nosec
fileToZip, err := os.Open(filename)
if err != nil {
return err