From bdaef66db5d63971bd3a061cb8a511f788d98c92 Mon Sep 17 00:00:00 2001 From: Codevena Date: Thu, 11 Jun 2026 08:36:23 +0100 Subject: [PATCH] fix: SC2059 in wizard config-path warning (CI shellcheck) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI runs `shellcheck` at default severity (includes info-level), which flags variables in the printf format string. Use %s placeholders. The prior PR's static gate used `shellcheck -S warning`, which excludes info-level and missed this — now matched to the CI invocation. --- fixbuddy-wizard.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fixbuddy-wizard.sh b/fixbuddy-wizard.sh index 5b9f1d4..61ef350 100755 --- a/fixbuddy-wizard.sh +++ b/fixbuddy-wizard.sh @@ -325,7 +325,7 @@ case "$save_ans" in # Warn when CWD differs from the chosen project directory, because # fixbuddy reads .fixbuddy.conf from wherever it is launched. if [ "$(pwd)" != "$PROJECT" ]; then - printf " ${RED}!${RST} Config is in launch dir, not project dir.\n" + printf " %s!%s Config is in launch dir, not project dir.\n" "$RED" "$RST" note "Run fixbuddy from $(pwd), or move .fixbuddy.conf into $PROJECT" fi note "Next time you can just run: fixbuddy.sh"