fix lint errors
All checks were successful
Lint / golangci-lint (push) Successful in 9m47s
Declarative Tests / test (push) Successful in 1m27s

This commit is contained in:
Matthew Rich 2024-05-14 15:52:05 -07:00
parent 3a33bed423
commit 70496ddc36

View File

@ -35,7 +35,7 @@ func init() {
t := NewTar() t := NewTar()
t.Path,_ = filepath.Abs(filepath.Join(u.Hostname(), u.Path)) t.Path,_ = filepath.Abs(filepath.Join(u.Hostname(), u.Path))
if e := t.Open(); e != nil { if e := t.Open(); e != nil {
return nil
} }
return t return t
}) })
@ -50,7 +50,7 @@ func init() {
} }
t.Gzip = true t.Gzip = true
if e := t.Open(); e != nil { if e := t.Open(); e != nil {
return nil
} }
return t return t
}) })