We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a7316b commit 8214ef0Copy full SHA for 8214ef0
pkg/decode.go
@@ -58,7 +58,8 @@ func (r *YAMLReader) Read() ([]byte, error) {
58
// We hit the next entry
59
return buffer.Bytes(), nil
60
}
61
- if rr[0] != ' ' {
+ if rr[0] != ' ' && rr[0] != '\n' {
62
+ // TODO: match 'kind: List' exactly instead
63
// Not part of the list anymore, just be end of the list
64
// Drain the list so we don't read more
65
if _, err := io.Copy(io.Discard, r.reader.reader); err != nil {
0 commit comments