Skip to content

Commit

Permalink
format: update with nix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MakiseKurisu committed Jul 25, 2024
1 parent a1d05ba commit 7960e70
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions openwrt/uci.nix
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,14 @@ let
uciIdentifierCheck = type: attrs:
let
invalid = lib.filter
(n: builtins.match (
if type == "config" then
"[a-zA-Z0-9_-]+"
else
"[a-zA-Z0-9_]+"
) n == null)
(n: builtins.match
(
if type == "config" then
"[a-zA-Z0-9_-]+"
else
"[a-zA-Z0-9_]+"
)
n == null)
(lib.attrNames attrs);
in
lib.warnIf
Expand Down

0 comments on commit 7960e70

Please sign in to comment.