Skip to content

Commit 615f565

Browse files
authored
Sus pat (#507)
1 parent 5e005cd commit 615f565

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

suspicious_patterns.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ files_changed=$(git diff --name-only --relative HEAD~1 HEAD)
88

99
# Loop through each file and search for the patterns
1010
for file in $files_changed; do
11+
# Skip if the file is Import_test.cpp (exact filename match regardless of path)
12+
if [[ "$(basename "$file")" == "Import_test.cpp" ]]; then
13+
continue
14+
fi
15+
1116
# Construct the absolute path
1217
absolute_path="$repo_root/$file"
1318

0 commit comments

Comments
 (0)