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

fix: Detect incorrectly indented YAML #2153

Merged
merged 1 commit into from
May 14, 2024

Conversation

charithe
Copy link
Contributor

The bug was patched in the parser (cerbos/go-yaml#3). This PR adds a
test for it.

Fixes #2146

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

The bug was patched in the parser (cerbos/go-yaml#3). This PR adds a
test for it.

Fixes cerbos#2146

Signed-off-by: Charith Ellawala <charith@cerbos.dev>
@charithe charithe merged commit f69dfc0 into cerbos:main May 14, 2024
22 checks passed
@charithe charithe deleted the fix-invalid-indentation branch May 14, 2024 12:36
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.

Spurious "more than one YAML document detected" caused by bad indentation
2 participants