From 4bacba7fec1e0d1a9a497b20836c2a9352bb99cd Mon Sep 17 00:00:00 2001 From: Tw93 Date: Mon, 26 Jan 2026 02:28:41 +0000 Subject: [PATCH] chore: auto format code --- lib/clean/user.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/clean/user.sh b/lib/clean/user.sh index 3293841..93dfc90 100644 --- a/lib/clean/user.sh +++ b/lib/clean/user.sh @@ -7,12 +7,12 @@ clean_user_essentials() { stop_section_spinner safe_clean ~/Library/Logs/* "User app logs" - + if ! is_path_whitelisted "$HOME/.Trash"; then local trash_count trash_count=$(osascript -e 'tell application "Finder" to count items in trash' 2> /dev/null || echo "0") [[ "$trash_count" =~ ^[0-9]+$ ]] || trash_count="0" - + if [[ "${DRY_RUN:-false}" == "true" ]]; then [[ $trash_count -gt 0 ]] && echo -e " ${YELLOW}${ICON_DRY_RUN}${NC} Trash · would empty ($trash_count items)" || echo -e " ${GRAY}${ICON_EMPTY}${NC} Trash · already empty" elif [[ $trash_count -gt 0 ]]; then