From 2ce8641e3d91dee4d22b1de5653bb634563fd7c5 Mon Sep 17 00:00:00 2001 From: "Jonathan D.A. Jewell" <6759885+hyperpolymath@users.noreply.github.com> Date: Wed, 26 Aug 2026 18:23:01 +0100 Subject: [PATCH] fix(ci): a bare '# shellcheck' comment is parsed as a directive MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Line 351's comment was literally '# shellcheck'. Comments beginning '# shellcheck' are DIRECTIVES, so this was read as a malformed one and the file failed to parse. Reworded to '# ShellCheck linting'. Found by an estate-wide shellcheck sweep of 5,111 tracked scripts across 375 repos. This file was one of 11 that fail to PARSE (SC1073/SC1072) — shellcheck stops analysing at the failure, so anything after it was never checked either. Verified: shellcheck -S error now reports 0 findings for this file. --- ci-scripts/lint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-scripts/lint.sh b/ci-scripts/lint.sh index a2d64fa..22d4d12 100755 --- a/ci-scripts/lint.sh +++ b/ci-scripts/lint.sh @@ -348,7 +348,7 @@ run_shell_lint() { log_info "Running shell script linters..." cd "$PROJECT_ROOT" - # shellcheck + # ShellCheck linting if command -v shellcheck &>/dev/null; then local shell_files shell_files=$(find . -name "*.sh" -o -name "*.bash" 2>/dev/null | grep -v node_modules | grep -v vendor || true)