-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
suppress warnings by type and/or regex #2740
Comments
What version of Leiningen are you using? I think those warnings are gone in the latest stable release. |
I'm on However, this question is more general than that -- I assume that warnings like this will come up from time to time in various dependencies (as they have in every project I've ever been on), and it's handy to ignore the ones you have explicitly decided not to fix. |
Ah sure. You can export `LEIN_SILENT` to suppress warnings.
Most of the remaining warnings come from things that are directly in
your control in project.clj; other than that we only have warnings for
calling functions which are deprecated; in those cases it's usually easy
to send a PR which calls the new function if a plugin hasn't been
updated yet.
|
Thinking about this more, I would accept a patch for a way to supply a regex for silencing warnings. It would probably be best as an environment variable, since warnings can happen before profiles are parsed. |
I get the following warnings on most
lein
tasks:Nothing I personally can do about these except hope the plugins get fixed before they stop working. It would be nice to ignore the warnings in the meantime. Is this possible? (This is a pretty common feature in other build tools -- maybe I've missed it here.)
The text was updated successfully, but these errors were encountered: