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

Handle mismatched control comments gracefully #573

Merged
merged 2 commits into from
Dec 3, 2016
Merged

Handle mismatched control comments gracefully #573

merged 2 commits into from
Dec 3, 2016

Conversation

rodjek
Copy link
Owner

@rodjek rodjek commented Dec 3, 2016

As reported in #509. If puppet-lint encounters a lint:endignore comment that it can't match to lint:ignore:<check> comment, it currently throws an exception and dies with a stack trace printed out. This change instead makes it print a friendly warning to the user and then continue on.

Fixes #509

@rnelson0
Copy link
Collaborator

rnelson0 commented Dec 3, 2016

Sweet!

@rnelson0 rnelson0 merged commit 676e20e into master Dec 3, 2016
@rnelson0 rnelson0 deleted the issue-509 branch December 3, 2016 07:34
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