Pre-commit Hook fails on Windows
When attempting to run stylua-system pre-commit hook, an exception is thrown as it attempts to find stylua.EXE (in capital letters).
stylua is installed with aftman under that name, but only works if renamed with the capitalized .EXE version as followed: "stylua.EXE" = "JohnnyMorganz/[email protected]"
I don't actually use the precommit hook so not sure what the issue is here.
It sounds like this might actually be a problem with precommit? If it only searches for stylua.EXE. Or maybe aftman is doing something wrong
I had a similar issue while attempting to get a selene precommit hook working with the system language, so I think it is an issue with precommit itself.
Going to close this as it seems more of a pre-commit / aftman issue than stylua. Let me know if you have any further questions about it