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

Explicitly throw a ParseError if the CODEOWNERS file does not exist #18

Conversation

stevegrunwell
Copy link
Contributor

Instead of relying on fopen() returning false (and triggering an error in the process), check that the given file is readable before attempting to read it.

Instead of relying on `fopen()` returning false (and triggering an error in the process), check that the given file is readable before attempting to read it.
@kellegous kellegous merged commit 09ef941 into kellegous:main Oct 31, 2024
5 checks passed
@stevegrunwell stevegrunwell deleted the fix/error-handling-when-codeowners-does-not-exist branch October 31, 2024 14:18
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.

2 participants