Skip to content

Commit

Permalink
Fixed Lint check with regular expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
1NepuNep1 committed Jan 8, 2025
1 parent 75032ad commit c4dadc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/is_autogenerated_file.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FILEPATH="$1"

grep -q "Code generated by gtrace. DO NOT EDIT." "$FILEPATH" && echo YES && exit 0
grep -q "Code generated by MockGen. DO NOT EDIT." "$FILEPATH" && echo YES && exit 0
grep -q "Code generated from .*\(YQLv1Antlr4.g4\|SQLv1Antlr4.g4\) by ANTLR 4\.[0-9]\+\.[0-9]\+\.[0-9]\+.* DO NOT EDIT." "$FILEPATH" && echo YES && exit 0
grep -qE "Code generated from (YQLv1Antlr4.g4|SQLv1Antlr4.g4) by ANTLR [4-9]+\.[0-9]+\.[0-9]+\. DO NOT EDIT." "$FILEPATH" && echo YES && exit 0

echo NO
exit 0

0 comments on commit c4dadc0

Please sign in to comment.