From 7960e708809908f022d86a11efee16783e15e882 Mon Sep 17 00:00:00 2001 From: MakiseKurisu Date: Fri, 26 Jul 2024 00:04:33 +0800 Subject: [PATCH] format: update with nix fmt --- openwrt/uci.nix | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/openwrt/uci.nix b/openwrt/uci.nix index 7cdccea..eeabc4d 100644 --- a/openwrt/uci.nix +++ b/openwrt/uci.nix @@ -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