2
0
Fork 0

Add an exception for thirdparty subdirectories in file_format.sh

This exception is also present in clang_format.sh and is needed in some
cases.

(cherry picked from commit 10eaf0c52b)
3.x
Riteo Siuga 2022-11-13 00:46:13 +07:00 committed by Haoyu Qiu
parent fdc21747be
commit 06920544b8
1 changed files with 3 additions and 1 deletions

@ -28,7 +28,9 @@ while IFS= read -rd '' f; do
continue
elif [[ "$f" == *"po" ]]; then
continue
elif [[ "$f" == "thirdparty"* ]]; then
elif [[ "$f" == "thirdparty/"* ]]; then
continue
elif [[ "$f" == *"/thirdparty/"* ]]; then
continue
elif [[ "$f" == "platform/android/java/lib/src/com/google"* ]]; then
continue