From b002d47953e341b6c84e39001d312bd95a3b5078 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Mon, 3 Oct 2022 17:25:38 -0700 Subject: [PATCH] commands: Remove extraneous newline from result of convert toTOML Fixes #10351 --- parser/frontmatter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/frontmatter.go b/parser/frontmatter.go index 150ce038f..ced8b84fc 100644 --- a/parser/frontmatter.go +++ b/parser/frontmatter.go @@ -109,7 +109,7 @@ func InterfaceToFrontMatter(in any, format metadecoders.Format, w io.Writer) err return err } - _, err = w.Write([]byte("\n" + tomlDelimLf)) + _, err = w.Write([]byte(tomlDelimLf)) return err default: