mirror of
https://github.com/mikefarah/yq.git
synced 2025-01-12 19:25:37 +00:00
Minor improvement on handling front matter
This commit is contained in:
parent
fb648ceb79
commit
a804e7370f
@ -79,7 +79,7 @@ func (f *frontMatterHandlerImpl) Split() error {
|
||||
return errReading
|
||||
}
|
||||
|
||||
_, errWriting := yamlTempFile.Write([]byte(line))
|
||||
_, errWriting := yamlTempFile.WriteString(line)
|
||||
|
||||
if errWriting != nil {
|
||||
return errWriting
|
||||
|
Loading…
Reference in New Issue
Block a user