aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.go b/file.go
index e2f5536..4f72542 100644
--- a/file.go
+++ b/file.go
@@ -91,7 +91,7 @@ func (f File) WriteTo(w io.Writer) error {
fmt.Fprintln(w, commentHdr, f.Comment)
fmt.Fprintln(w, string(f.B64))
if f.Body != nil {
- fmt.Fprintf(w, "%v", string(f.Body))
+ w.Write(f.Body)
}
return nil
}