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

Detect ScannerError while searching for skipped rules #2619

Merged
merged 2 commits into from Oct 26, 2022

Conversation

felixfontein
Copy link
Contributor

This prevents ansible-lint from crashing when processing community.sops.

@ssbarnea ssbarnea added the bug label Oct 26, 2022
@ssbarnea ssbarnea changed the title Do not crash when encountering ScannerError while searching for skipped rules Detect ScannerError while searching for skipped rules Oct 26, 2022
@ssbarnea ssbarnea merged commit 9be4903 into ansible:main Oct 26, 2022
@felixfontein felixfontein deleted the avoid-crash branch October 26, 2022 21:27
@felixfontein
Copy link
Contributor Author

@ssbarnea thanks for updating, reviewing, and merging!

@ssbarnea
Copy link
Member

@felixfontein I need to thank you for fixing the bug! I only did small polishing and released it.

ssbarnea added a commit to ssbarnea/ansible-lint that referenced this pull request Nov 11, 2022
* Do not crash when encountering ScannerError while searching for skipped rules.

* Log exception

Co-authored-by: Sorin Sbarnea <sorin.sbarnea@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants