(scripts) fixed whitespaceremover
This commit is contained in:
1 parent
2f77aee122
commit
7a65642d7a
1 file changed
+2
-2
@@ -64,8 +64,8 @@ function remove-whitespace {
|
||||
for arg in ${path_args[@]}; do
|
||||
files+=($(
|
||||
find "${arg}" \
|
||||
"${exclude_paths[@]/#/-not -path }" \
|
||||
"${exclude_files[@]/#/-not -name }" \
|
||||
${exclude_paths[@]/#/-not -path } \
|
||||
${exclude_files[@]/#/-not -name } \
|
||||
-type f \
|
||||
-exec grep -EIq "${grep_regex}" {} \; \
|
||||
-print
|
||||
|
||||
Reference in new issue
Block a user