From e1ffc23c411f2fff8ebf8f9fe96a15adb8d10403 Mon Sep 17 00:00:00 2001 From: Rodolfo Date: Sat, 18 Jul 2026 11:05:09 -0300 Subject: [PATCH] fix: silence shellcheck SC2148 on tests/lib.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit tests/lib.sh is meant to be sourced, not executed directly, so it intentionally has no shebang. shellcheck flags that as SC2148 once the file is actually git-tracked — it passed locally before commit only because `make lint` scopes to `git ls-files '*.sh'`, which skips untracked files. Add the `# shellcheck shell=bash` directive shellcheck recommends for sourced-only scripts instead. --- tests/lib.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/lib.sh b/tests/lib.sh index 00f23f1..6f0c6ee 100644 --- a/tests/lib.sh +++ b/tests/lib.sh @@ -1,3 +1,4 @@ +# shellcheck shell=bash # Shared helpers for tests/test_*.sh functional tests. # Meant to be sourced, not executed directly.