Files
MoreTore/scripts/lint/check_nomerge_comments.sh
T
Vehicle Researcher 74ee5a3ad8 openpilot v0.10.3
2025-12-19 07:27:22 +00:00

11 lines
173 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