From a0020c6fdf93effe8bf569c0cde5c556a23d5134 Mon Sep 17 00:00:00 2001 From: Letter N <24603524+LetterN@users.noreply.github.com> Date: Fri, 5 Mar 2021 14:51:00 +0800 Subject: [PATCH] e --- tools/ci/check_grep.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/ci/check_grep.sh b/tools/ci/check_grep.sh index 53048fe153a4..9638215bb811 100755 --- a/tools/ci/check_grep.sh +++ b/tools/ci/check_grep.sh @@ -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