Skip to content

Commit 2849eb7

Browse files
Ensure pre-commit hook script is executable
1 parent 06bfd1a commit 2849eb7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.pre-commit

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
#!/bin/bash
22

3-
# If there are whitespace errors, print the offending file names and fail.
3+
# Give execute permission to the pre-commit hook script
4+
chmod +x "$0"
5+
6+
# If there are whitespace errors, print the offending file names and fail.
47
# git diff-index --check --cached $against --
58

69
# Execute steps extracted from GitHub Actions

0 commit comments

Comments
 (0)