From 4d3a97903adce63d93beaf16a397c12d26f777fc Mon Sep 17 00:00:00 2001 From: Tw93 Date: Tue, 13 Jan 2026 06:17:41 +0000 Subject: [PATCH] chore: auto format code --- bin/purge.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/purge.sh b/bin/purge.sh index 62a9ecf..46b5748 100755 --- a/bin/purge.sh +++ b/bin/purge.sh @@ -98,10 +98,10 @@ perform_purge() { # Function to truncate path in the middle truncate_path() { local path="$1" - local term_width=$(tput cols 2>/dev/null || echo 80) + local term_width=$(tput cols 2> /dev/null || echo 80) # Reserve space: "| Scanning " = 12 chars, spinner = 2 chars, margins = 4 chars local max_len=$((term_width - 18)) - + # Minimum length to avoid too short [[ $max_len -lt 40 ]] && max_len=40