mirror of
https://github.com/jesseduffield/lazydocker.git
synced 2026-07-25 08:31:03 +00:00
fix: success case in utils.CloseMany
This commit is contained in:
parent
e29e110476
commit
7105cc67ae
1 changed files with 4 additions and 1 deletions
|
|
@ -371,5 +371,8 @@ func CloseMany(closers []io.Closer) error {
|
||||||
errs = append(errs, err)
|
errs = append(errs, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return multiErr(errs)
|
if len(errs) > 0 {
|
||||||
|
return multiErr(errs)
|
||||||
|
}
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue