Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Campbell <noahcampbell@gmail.com>2013-10-02 06:59:35 +0400
committerNoah Campbell <noahcampbell@gmail.com>2013-10-08 20:40:41 +0400
commit689cda17403ba752305f469fdcc385b7a31b0bdb (patch)
tree9babea429190300cb047eb1060e6722149055e1d /transform/chain.go
parent19cb6c7819baa0daa7c6d6f0c23481578171ead8 (diff)
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
}