commands: Remove extraneous newline from result of convert toTOML

Fixes #10351
This commit is contained in:
Joe Mooring 2022-10-03 17:25:38 -07:00 committed by Bjørn Erik Pedersen
parent e3f31352d4
commit b002d47953

View file

@ -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: