langflow/.githooks/pre-commit
Gabriel Luiz Freitas Almeida 8d77e51037 🔧 chore(pre-commit): change file mode from 100644 to 100755 for better execution permissions
The file mode of the pre-commit hook has been changed from 100644 to 100755. This change ensures that the pre-commit hook has the necessary execution permissions, allowing it to be executed properly before each commit.
2023-07-05 09:49:18 -03:00

6 lines
No EOL
107 B
Bash
Executable file

#!/bin/sh
added_files=$(git diff --name-only --cached --diff-filter=d)
make format
git add ${added_files}