0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-06-03 04:49:42 +02:00

fix linting

This commit is contained in:
Robert Kaussow 2024-02-12 09:11:40 +01:00
parent bc966aa74b
commit b50dcc549e
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -126,6 +126,7 @@ func unzip(src, dest string, maxSize int64) error {
_ = os.MkdirAll(path, f.Mode())
} else {
_ = os.MkdirAll(filepath.Dir(path), f.Mode())
f, err := os.OpenFile(path, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, f.Mode())
if err != nil {
return err