-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Error when analyzer globs go unmatched #204
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. I don't mind the unindent.
I'll let @dawedawe have the final say.
How about we change the log level to warning and remove the last log message about aborting. Include:
Exclude:
A non-matching Exclude glob means, we still run the analyzers from the given directories as seen in the output above. |
I don't really want this feature enough to work on it any more, thanks! |
This is a perf hit, of course, but I claim it's not an important one.
I took the liberty of unindenting the code at the end of the main function (by early-
exit
ing), but this has made the diff pretty nasty, sorry :(Fixes #203.
I could understand not wanting this; on balance, though, I think these cases are more likely to be user error than intended.