-
Notifications
You must be signed in to change notification settings - Fork 38
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
obscure --fail-on-change error #396
Comments
I tried to convert warnings into debug in case the
I guess it fails because of the same reasons than in my initial issue but now I have little feedback to address the issue. |
@teto if you add It's recommended to use I recommend upgrading to If you use |
I think people are more used to the inverse logic, ie. the tool gives useful output by default. For the minority who want a quiet output, they can redirect to /dev/null or use a --quiet flag.
I ran a simple So the
I see it's merged I will try to update ty !
|
I think you're seeing the same issue as #365. Moving to
I disagree that there is a minority wanting quiet output by default. Regardless, this is in keeping with v1 behaviour, if not a little less noisy by default. In general, I want to stabilise the move to |
Describe the bug
I am trying to enable treefmt on CI but I find the behavior elusive: here are 2 consecutive runs:
WARN format: no formatter for path: .gitlab-ci.yml
or another path not displayed ? I dont think it should fail when a file is not covered by a formatter, it makes the out of the box behavior quite annoying.Expected behavior
System information
treefmt v2.0.3
Additional context
The text was updated successfully, but these errors were encountered: