8000 chore: Handle empty policies in the parser by charithe · Pull Request #2530 · cerbos/cerbos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: Handle empty policies in the parser #2530

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

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

charithe
Copy link
Contributor

Return an error instead of nil when a file is empty.

Signed-off-by: Charith Ellawala charith@cerbos.dev

Return an error instead of nil when a file is empty.

Signed-off-by: Charith Ellawala <charith@cerbos.dev>
@charithe charithe enabled auto-merge (squash) March 24, 2025 12:12
@charithe charithe merged commit ba15837 into cerbos:main Mar 25, 2025
22 checks passed
@charithe charithe deleted the err-on-empty-files branch March 25, 2025 12:15
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
0