mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Code cleanup
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
package transform
|
||||
|
||||
import (
|
||||
"io"
|
||||
"bytes"
|
||||
"io"
|
||||
)
|
||||
|
||||
type chain struct {
|
||||
@@ -23,7 +23,7 @@ func (c *chain) Apply(w io.Writer, r io.Reader) (err error) {
|
||||
}
|
||||
in = bytes.NewBuffer(out.Bytes())
|
||||
}
|
||||
|
||||
|
||||
_, err = io.Copy(w, in)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user