Skip to content

Commit

Permalink
Ensure pre-commit hook script is executable
Browse files Browse the repository at this point in the history
Signed-off-by: andoriyaprashant <[email protected]>
  • Loading branch information
andoriyaprashant committed Jun 4, 2024
1 parent 06bfd1a commit f82ec16
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/bin/bash

# If there are whitespace errors, print the offending file names and fail.
# Give execute permission to the pre-commit hook script
chmod +x "$0"

# If there are whitespace errors, print the offending file names and fail.
# git diff-index --check --cached $against --

# Execute steps extracted from GitHub Actions
Expand Down

0 comments on commit f82ec16

Please sign in to comment.