typos
can rename files and cause treefmt to fail with a bad error message
#502
Labels
bug
Something isn't working
Describe the bug
When configured
typos
can cause files to be renames (e.g.hass.nix -> hash.nix
). This causestreefmt
to fail, but doesn't provide a good error message.To Reproduce
Steps to reproduce the behavior:
typos
spell checkerhass
).treefmt
and observe the following error message:Expected behavior
A message should be added to explain that a file being renamed might cause the error.
System information
I use
treefmt-nix
which reports:treefmt v0.0.1+dev
, buttreefmt-2.1.0
is present in thenix-store
Additional context
This is specially weird in the
nix flake check
as the files in the repo are not modified but the check says the file is missing.The text was updated successfully, but these errors were encountered: