From: bogem Date: Tue, 30 Aug 2016 17:22:26 +0000 (+0500) Subject: commands: Delete useless conversion X-Git-Tag: v0.17~87 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=60baec8005dd6e84b3d564398eb79126ad12ad2e;p=brevno-suite%2Fhugo commands: Delete useless conversion --- diff --git a/commands/undraft.go b/commands/undraft.go index c7a248a7..5a1ae67a 100644 --- a/commands/undraft.go +++ b/commands/undraft.go @@ -151,7 +151,7 @@ L: } // append the actual content - buff.Write([]byte(p.Content())) + buff.Write(p.Content()) return buff, nil }