aboutsummaryrefslogtreecommitdiffhomepage
path: root/transform/chain.go
diff options
context:
space:
mode:
authorNoah Campbell <[email protected]>2013-10-01 19:59:35 -0700
committerNoah Campbell <[email protected]>2013-10-08 18:40:41 +0200
commit689cda17403ba752305f469fdcc385b7a31b0bdb (patch)
tree9babea429190300cb047eb1060e6722149055e1d /transform/chain.go
parent19cb6c7819baa0daa7c6d6f0c23481578171ead8 (diff)
downloadhugo-689cda17403ba752305f469fdcc385b7a31b0bdb.tar.gz
hugo-689cda17403ba752305f469fdcc385b7a31b0bdb.zip
Code cleanup
Diffstat (limited to 'transform/chain.go')
-rw-r--r--transform/chain.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/transform/chain.go b/transform/chain.go
index b9a865fe9..1d50e8f2f 100644
--- a/transform/chain.go
+++ b/transform/chain.go
@@ -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
}