FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

tools: fix linter when `permittedInsecurePackages` is empty · nodejs/node@ebbe4af · GitHub

/ node Public

Commit ebbe4af

Browse files
committed
tools: fix linter when permittedInsecurePackages is empty
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com> PR-URL: #65226 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 6bffc30 commit ebbe4af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/dep_updaters/update-nixpkgs-pin.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ nix-instantiate -I "nixpkgs=$NIXPKGS_PIN_FILE" --eval --strict --json -E "
6565
}
6666
" | jq -r '"{
6767
pkgs ? import ./pkgs.nix {
68-
config.permittedInsecurePackages = [ \(.permittedInsecurePackages | map(@json) | join(" ")) ];
68+
config.permittedInsecurePackages = [ \(.permittedInsecurePackages | if length > 0 then "\(map(@json) | join(" ")) " else "" end)];
6969
},
7070
}:
7171

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL