fix(1b): lint.sh excludes the secrets/ submodule (correct path)
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user