From ad43c92fa14d1a118a69e0aeb2a2ce43d7f90460 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Mon, 29 Dec 2025 11:16:45 +0000 Subject: [PATCH] chore: auto format code --- lib/clean/project.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/clean/project.sh b/lib/clean/project.sh index 8def3b9..add3860 100644 --- a/lib/clean/project.sh +++ b/lib/clean/project.sh @@ -53,17 +53,17 @@ load_purge_config() { # Remove leading/trailing whitespace line="${line#"${line%%[![:space:]]*}"}" line="${line%"${line##*[![:space:]]}"}" - + # Skip empty lines and comments [[ -z "$line" || "$line" =~ ^# ]] && continue - + # Expand tilde to HOME line="${line/#\~/$HOME}" - + PURGE_SEARCH_PATHS+=("$line") done < "$PURGE_CONFIG_FILE" fi - + # Fallback to defaults if no paths loaded if [[ ${#PURGE_SEARCH_PATHS[@]} -eq 0 ]]; then PURGE_SEARCH_PATHS=("${DEFAULT_PURGE_SEARCH_PATHS[@]}")