Skip to content

Commit 8ed78bc

Browse files
authored
fix(parser): don't always skip the first YAML document (#415)
Just keep skipping empty documents
1 parent 64015ca commit 8ed78bc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

manifest/parse.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ func Parse(manifest string, defaultNamespace string, normalizeManifests bool, ex
9494
scanner.Split(scanYamlSpecs)
9595
// Allow for tokens (specs) up to 10MiB in size
9696
scanner.Buffer(make([]byte, bufio.MaxScanTokenSize), 10485760)
97-
// Discard the first result, we only care about everything after the first separator
98-
scanner.Scan()
9997

10098
result := make(map[string]*MappingResult)
10199

0 commit comments

Comments
 (0)