You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Treefmt seems to use lstat instead of stat to figure out a filetype?
It leads to some odd behavior when symlinks to directories are used.
Treefmt should not generate warnings for directories.
~/.homesick/repos/dotfiles test-foo* ⇡
nix-shell-env % nix fmt
2024/12/10 06:14:01 INFO using config file: /nix/store/9skqqjkkajkf44rg1ani1l0bcyr75cq1-treefmt.toml
WARN no formatter for path: home/.config/nixpkgs
WARN no formatter for path: home/.fast-syntax-highlighting
WARN no formatter for path: home/.gef-extras
WARN no formatter for path: home/.gef-mic92
traversed 999 files
emitted 346 files for processing
formatted 1 files (0 changed) in 31ms
~/.homesick/repos/dotfiles test-foo* ⇡
nix-shell-env % ls -la home/.gef-*
lrwxrwxrwx joerg users 17 B 5 months ago home/.gef-extras@ ⇒ ../gdb/gef-extras
lrwxrwxrwx joerg users 16 B 5 months ago home/.gef-mic92@ ⇒ ../gdb/gef-mic92
Treefmt seems to use lstat instead of stat to figure out a filetype?
It leads to some odd behavior when symlinks to directories are used.
Treefmt should not generate warnings for directories.
The text was updated successfully, but these errors were encountered: