Skip to content

Commit

Permalink
e
Browse files Browse the repository at this point in the history
  • Loading branch information
LetterN committed Mar 5, 2021
1 parent ada3091 commit a0020c6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/ci/check_grep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ while read f; do
st=1
fi;
done < <(find . -type f -name '*.dm')
if grep -P '^/[\w/]\S+\(.*(var/|, ?var/.*).*\)' code/**/*.dm; then
echo "changed files contains proc argument starting with 'var'"
# st=1
fi;
# if grep -P '^/[\w/]\S+\(.*(var/|, ?var/.*).*\)' code/**/*.dm; then
# echo "changed files contains proc argument starting with 'var'"
# st=1
# fi;
if grep -i 'centcomm' code/**/*.dm; then
echo "ERROR: Misspelling(s) of CENTCOM detected in code, please remove the extra M(s)."
st=1
Expand Down

0 comments on commit a0020c6

Please sign in to comment.