fix(1b): lint.sh excludes the secrets/ submodule (correct path)

This commit is contained in:
2026-05-27 20:41:59 +01:00
parent a74925bf7d
commit f1438eb8c9

View File

@ -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