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