This commit is contained in:
parent
0d4500ce15
commit
b6fd17ab10
|
@ -93,6 +93,7 @@ func Dump(filename string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func writeFileToZip(filename string, writer *zip.Writer) error {
|
func writeFileToZip(filename string, writer *zip.Writer) error {
|
||||||
|
// #nosec
|
||||||
fileToZip, err := os.Open(filename)
|
fileToZip, err := os.Open(filename)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue
Block a user