mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
parent
50549c867c
commit
5067775a6f
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ type multiWriteCloser struct {
|
||||||
func (m multiWriteCloser) Close() error {
|
func (m multiWriteCloser) Close() error {
|
||||||
var err error
|
var err error
|
||||||
for _, c := range m.closers {
|
for _, c := range m.closers {
|
||||||
if closeErr := c.Close(); err != nil {
|
if closeErr := c.Close(); closeErr != nil {
|
||||||
err = closeErr
|
err = closeErr
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue