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: avoid nil ptr for invalid files #2892

Merged
merged 1 commit into from Feb 20, 2024
Merged

Conversation

aliscott
Copy link
Member

The cached hclparse.Parser.Files can sometimes contain nil values if there's invalid code, tso we should check for these before decoding them.

The cached hclparse.Parser.Files can sometimes contain nil values if there's invalid code, tso we should check for these before decoding them.
@aliscott aliscott self-assigned this Feb 20, 2024
@aliscott aliscott marked this pull request as ready for review February 20, 2024 14:55
@aliscott aliscott merged commit 7e675d1 into master Feb 20, 2024
8 of 10 checks passed
@aliscott aliscott deleted the fix/project-locator-nil-ptr branch February 20, 2024 15:00
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.

None yet

2 participants