Skip to content

Commit

Permalink
edit
Browse files Browse the repository at this point in the history
  • Loading branch information
RanabirChakraborty committed Aug 19, 2024
1 parent eec60ad commit c5ae2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_logging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ while IFS= read -r line; do

if [[ "$line" =~ ^\+[^+] ]]; then
# Ignore lines in the test directories
if [[ "$CURRENT_FILE" != *"src/test/"* && "$CURRENT_FILE" != *"testsuite/"* && "$CURRENT_FILE" != *"check_logging.sh"* ]]; then
if [[ "$CURRENT_FILE" != *"src/test/"* && "$CURRENT_FILE" != *"testsuite/"* ]]; then
# Check for any of the patterns, ensuring "//" doesn't precede them
for pattern in "${PATTERNS[@]}"; do
if [[ "$line" == *"$pattern"* ]]; then
Expand Down

0 comments on commit c5ae2af

Please sign in to comment.