(scripts) fixed whitespaceremover

This commit is contained in:
scbj
2026-04-30 16:27:23 +02:00
parent 2f77aee122
commit 7a65642d7a
+2 -2
View File
@@ -64,8 +64,8 @@ function remove-whitespace {
for arg in ${path_args[@]}; do for arg in ${path_args[@]}; do
files+=($( files+=($(
find "${arg}" \ find "${arg}" \
"${exclude_paths[@]/#/-not -path }" \ ${exclude_paths[@]/#/-not -path } \
"${exclude_files[@]/#/-not -name }" \ ${exclude_files[@]/#/-not -name } \
-type f \ -type f \
-exec grep -EIq "${grep_regex}" {} \; \ -exec grep -EIq "${grep_regex}" {} \; \
-print -print