mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
commands: Remove extraneous newline from result of convert toTOML
Fixes #10351
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
e3f31352d4
commit
b002d47953
@ -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:
|
||||
|
Reference in New Issue
Block a user