From 7a65642d7af684100626ee9730467527bd31d80b Mon Sep 17 00:00:00 2001 From: scbj Date: Thu, 30 Apr 2026 16:27:23 +0200 Subject: [PATCH] (scripts) fixed whitespaceremover --- scripts/trailing-whitespace.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/trailing-whitespace.sh b/scripts/trailing-whitespace.sh index da04b80..1e889ef 100755 --- a/scripts/trailing-whitespace.sh +++ b/scripts/trailing-whitespace.sh @@ -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