From 906a8e392759d1edfa4e38f75488860cc2c3f46d Mon Sep 17 00:00:00 2001 From: Tw93 Date: Sun, 28 Dec 2025 20:14:45 +0800 Subject: [PATCH] chore: clarify spinner cleanup comment and disable shellcheck warning SC2329 --- lib/core/ui.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/core/ui.sh b/lib/core/ui.sh index 1b3cd6d..b49db38 100755 --- a/lib/core/ui.sh +++ b/lib/core/ui.sh @@ -255,7 +255,8 @@ start_inline_spinner() { if [[ -t 1 ]]; then ( - # Clean exit handler for spinner subprocess + # Clean exit handler for spinner subprocess (invoked by trap) + # shellcheck disable=SC2329 cleanup_spinner() { exit 0; } trap cleanup_spinner TERM INT EXIT