From 669809921566f445a9a01bf2de5ab6445467ee63 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Sat, 3 Jan 2026 06:11:23 +0000 Subject: [PATCH] chore: auto format code --- lib/ui/menu_paginated.sh | 2 +- scripts/test.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ui/menu_paginated.sh b/lib/ui/menu_paginated.sh index 4a2f62d..be6ad3b 100755 --- a/lib/ui/menu_paginated.sh +++ b/lib/ui/menu_paginated.sh @@ -88,7 +88,7 @@ paginated_multi_select() { local cursor_pos=0 local top_index=0 local filter_query="" - local filter_mode="false" # filter mode toggle + local filter_mode="false" # filter mode toggle local sort_mode="${MOLE_MENU_SORT_MODE:-${MOLE_MENU_SORT_DEFAULT:-date}}" # date|name|size local sort_reverse="${MOLE_MENU_SORT_REVERSE:-false}" # Live query vs applied query diff --git a/scripts/test.sh b/scripts/test.sh index 5d19219..39991c0 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -67,7 +67,7 @@ if command -v bats > /dev/null 2>&1 && [ -d "tests" ]; then if [[ "$formatter" == "tap" ]]; then if $use_color; then esc=$'\033' - if bats --formatter tap "$@" | \ + if bats --formatter tap "$@" | sed -e "s/^ok /${esc}[32mok ${esc}[0m /" \ -e "s/^not ok /${esc}[31mnot ok ${esc}[0m /"; then report_unit_result 0 @@ -92,7 +92,7 @@ if command -v bats > /dev/null 2>&1 && [ -d "tests" ]; then else if $use_color; then esc=$'\033' - if bats --tap "$@" | \ + if bats --tap "$@" | sed -e "s/^ok /${esc}[32mok ${esc}[0m /" \ -e "s/^not ok /${esc}[31mnot ok ${esc}[0m /"; then report_unit_result 0