From f1438eb8c981bc83a29ae21bf30e053b4f2fa8ad Mon Sep 17 00:00:00 2001 From: autonomic-bot Date: Wed, 27 May 2026 20:41:59 +0100 Subject: [PATCH] fix(1b): lint.sh excludes the secrets/ submodule (correct path) --- scripts/lint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/lint.sh b/scripts/lint.sh index 7698e01..a95885d 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -21,10 +21,10 @@ fail=0 section() { printf '\n=== %s ===\n' "$1"; } note() { printf ' %s\n' "$1"; } -# Nix files (exclude the secrets submodule and the nix store). -mapfile -t NIX_FILES < <(find . -name '*.nix' -not -path './.git/*' -not -path './cc-ci-secrets/*' | sort) +# Nix files (exclude the `secrets/` submodule). +mapfile -t NIX_FILES < <(find . -name '*.nix' -not -path './.git/*' -not -path './secrets/*' | sort) # Shell scripts. -mapfile -t SH_FILES < <(find . -name '*.sh' -not -path './.git/*' -not -path './cc-ci-secrets/*' | sort) +mapfile -t SH_FILES < <(find . -name '*.sh' -not -path './.git/*' -not -path './secrets/*' | sort) section "Nix — nixpkgs-fmt" if [ "$FIX" = 1 ]; then