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:
parent
bc966aa74b
commit
b50dcc549e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user