aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-07-29 01:29:14 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-07-29 01:29:14 +0300
commitbbe78f518b83f91e328accd9eb178d1610ab5080 (patch)
tree408633df56b40cfe8f941470f2fd62a587069c22
parent93547611124c7ff165075eb7c41ea85833394911 (diff)
fix: restore python3 commit hook
-rwxr-xr-x.githooks/commit-msg6
1 files changed, 1 insertions, 5 deletions
diff --git a/.githooks/commit-msg b/.githooks/commit-msg
index e7e8138e..c8cbadc1 100755
--- a/.githooks/commit-msg
+++ b/.githooks/commit-msg
@@ -4,8 +4,4 @@ set -euo pipefail
repo_root="$(git rev-parse --show-toplevel)"
cd "$repo_root"
-if [[ "${OS:-}" == "Windows_NT" ]]; then
- python scripts/conventional_commits.py --message-file "$1"
-else
- python3 scripts/conventional_commits.py --message-file "$1"
-fi
+python3 scripts/conventional_commits.py --message-file "$1"