-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore empty YAML documents in parser
If a document contains only whitespace and we are not able to decode it into one of the supported schemas, we ignore it and continue. We want to avoid skipping a type that does not have a registered schema so that we do not silently ignore errors when package building, but we consider it safe to assume that a YAML document with no content is safe to skip. Signed-off-by: hasheddan <[email protected]>
- Loading branch information
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters