mirror of
https://github.com/mikefarah/yq.git
synced 2025-01-13 03:45: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
|
return errReading
|
||||||
}
|
}
|
||||||
|
|
||||||
_, errWriting := yamlTempFile.Write([]byte(line))
|
_, errWriting := yamlTempFile.WriteString(line)
|
||||||
|
|
||||||
if errWriting != nil {
|
if errWriting != nil {
|
||||||
return errWriting
|
return errWriting
|
||||||
|
Loading…
Reference in New Issue
Block a user