Add dump command #592
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue