-
-
Notifications
You must be signed in to change notification settings - Fork 554
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
Realpath error with 1.63.0 #336
Comments
@oksimon95 Out of interest: what's your OS name and version? |
macOS Monterey 12.1 |
I think you can install |
Installing |
|
That's coming from Bash 3. I don't think it's worth supporting so much ancient versions of tools. @oksimon95 you'd better upgrade to a modern Bash as I mentioned in #337. IMHO. ps: yep, also what @antonbabenko suggested — you can add workaround local to your setup to implement |
I updated my local version of bash to 5.1.16 and this seems to have fixed the error |
It is already in dependencies and was added by you 4 month ago :) |
Also, I wouldn't like to add this workaround to EACH hook file. |
First thing I thought of was _common.sh — isn't it sourced by each hook? |
the fixes in this are related to bash and coreutils Im running into this issue on v1.64 on different platform. I tried digging into the source of the error but im confused at where to start. I had pre-commit terraform fmt work correctly sometime so this was confusing when I ran into this issue. My coworker has also run into this issue so it is reproducible. |
This issue has been resolved in version 1.68.0 🎉 |
The latest version of pre-commit terraform throws an error due to lack of realpath command. Are there any new packages that need to be locally installed for pre-commit terraform to run successfully?
The text was updated successfully, but these errors were encountered: