diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2022-10-04 03:25:38 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2022-10-04 10:28:34 +0300 |
commit | b002d47953e341b6c84e39001d312bd95a3b5078 (patch) | |
tree | 2a9526f74479c228e3dc8a6adeaa887e22b7bc1d /parser | |
parent | e3f31352d4ae650d9ec177bedaf0d478a7374cf8 (diff) |
commands: Remove extraneous newline from result of convert toTOML
Fixes #10351
Diffstat (limited to 'parser')
-rw-r--r-- | parser/frontmatter.go | 2 |
1 files changed, 1 insertions, 1 deletions
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: |