Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture io.EOF error #4

Merged
merged 1 commit into from
Jan 3, 2023
Merged

Capture io.EOF error #4

merged 1 commit into from
Jan 3, 2023

Conversation

skelouse
Copy link
Contributor

@skelouse skelouse commented Jan 2, 2023

This PR is a workaround for go-yaml Decode throwing an error for an empty file go-yaml/yaml#805

Tests passing: go-yaml/yaml#805

@skelouse skelouse linked an issue Jan 2, 2023 that may be closed by this pull request
@samyfodil samyfodil merged commit c5a6726 into main Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Do not error on empty files
2 participants