Skip to content

Commit

Permalink
greps for missing arg in to_chat
Browse files Browse the repository at this point in the history
  • Loading branch information
Zonespace27 committed Nov 19, 2023
1 parent 9e45fbc commit fe6d8ec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tools/ci/check_grep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,13 @@ if $grep 'balloon_alert\(.*?, ?"[A-Z]' $code_files; then
st=1
fi;

part "to_chat without user"
if $grep 'to_chat\(("|SPAN)' $code_files; then
echo
echo -e "${RED}ERROR: to_chat() requires a target as its first argument.${NC}"
st=1
fi;

section "515 Proc Syntax"
part "proc ref syntax"
if $grep '\.proc/' $code_x_515 ; then
Expand Down

0 comments on commit fe6d8ec

Please sign in to comment.