From 8173ef558cb4130401431f0688134b81801984ea Mon Sep 17 00:00:00 2001 From: RichardAH Date: Thu, 1 May 2025 17:23:56 +1000 Subject: [PATCH] Sus pat (#507) --- suspicious_patterns.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/suspicious_patterns.sh b/suspicious_patterns.sh index 076c1a929..39287a6a1 100755 --- a/suspicious_patterns.sh +++ b/suspicious_patterns.sh @@ -8,6 +8,11 @@ files_changed=$(git diff --name-only --relative HEAD~1 HEAD) # Loop through each file and search for the patterns for file in $files_changed; do + # Skip if the file is Import_test.cpp (exact filename match regardless of path) + if [[ "$(basename "$file")" == "Import_test.cpp" ]]; then + continue + fi + # Construct the absolute path absolute_path="$repo_root/$file"