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
Interesting, because the error does not exist in the repo
22:49 pre-commit-terraform git:(tags/v1.50.0 $!?) on 🐳 v20.10.7
✘1 ➜ pre-commit run -a mixed-line-ending
Mixed line ending........................................................Passed
But for sure, I will add a pre-commit check for that issues
Problem
During
pre-commit run -a
I'm getting the following error:My .pre-commit-config.yml:
Workaround
It seems to be somehow related to the new lines problem as after executing
dos2unix terraform_fmt.sh
everything works fine (see https://askubuntu.com/questions/1044280/set-eo-pipefail-not-working-in-windows-subsystem-for-linux-ubuntu-16-04 and #204)Environment
GNU bash, version 5.1.8(1)-release (x86_64-apple-darwin20.3.0)
pre-commit 2.13.0
The text was updated successfully, but these errors were encountered: