Skip to content

Commit

Permalink
commands: Remove extraneous newline from result of convert toTOML
Browse files Browse the repository at this point in the history
Fixes #10351
  • Loading branch information
jmooring authored and bep committed Oct 4, 2022
1 parent e3f3135 commit b002d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser/frontmatter.go
Expand Up @@ -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:
Expand Down

0 comments on commit b002d47

Please sign in to comment.