mirror of
https://github.com/msberends/AMR.git
synced 2025-07-13 02:32:07 +02:00
fix website nav header (no-check)
This commit is contained in:
@ -29,7 +29,17 @@
|
||||
# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
|
||||
# ==================================================================== #
|
||||
|
||||
echo "Running pre-commit hook..."
|
||||
#!/bin/bash
|
||||
|
||||
echo "Running commit-msg hook..."
|
||||
|
||||
# check if the commit message contains '(no-check)' or '(no-verify)'
|
||||
COMMIT_MSG=$(cat "$1")
|
||||
if [[ "$COMMIT_MSG" =~ \(no-check\)|\(no-verify\) ]]; then
|
||||
echo "Commit check bypassed by commit message."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
if command -v Rscript > /dev/null; then
|
Reference in New Issue
Block a user