Files
StarPilot/scripts/lint/check_nomerge_comments.sh
T
2026-09-12 14:14:39 -07:00

11 lines
177 B
Bash
Executable File

#!/usr/bin/env bash
FAIL=0
if grep -n '\(#\|//\)\([[:space:]]*\)NOMERGE' "$@"; then
echo -e "NOMERGE comments found! Remove them before merging\n"
FAIL=1
fi
exit "$FAIL"