diff options
author | Noah Campbell <noahcampbell@gmail.com> | 2013-10-01 19:59:35 -0700 |
---|---|---|
committer | Noah Campbell <noahcampbell@gmail.com> | 2013-10-08 18:40:41 +0200 |
commit | 689cda17403ba752305f469fdcc385b7a31b0bdb (patch) | |
tree | 9babea429190300cb047eb1060e6722149055e1d /transform/chain.go | |
parent | 19cb6c7819baa0daa7c6d6f0c23481578171ead8 (diff) |
Code cleanup
Diffstat (limited to 'transform/chain.go')
-rw-r--r-- | transform/chain.go | 4 |
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 } |