From f769ccd996f1909f88d6905584397dc538189b18 Mon Sep 17 00:00:00 2001
From: Xiao Gui <xgui3783@gmail.com>
Date: Tue, 29 Nov 2022 18:05:43 +0100
Subject: [PATCH] fix lint

---
 src/components/smartChip/component/smartChip.component.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/smartChip/component/smartChip.component.ts b/src/components/smartChip/component/smartChip.component.ts
index d076f2ddb..3e29b7b22 100644
--- a/src/components/smartChip/component/smartChip.component.ts
+++ b/src/components/smartChip/component/smartChip.component.ts
@@ -19,8 +19,8 @@ const cssColorIsDark = (input: string) => {
     const match = /\((.*)\)/.exec(input)
     const [h, s, l] = match[1].split(",")
     const trimmedL = l.trim()
-    if (/\%$/.test(trimmedL)) {
-      const match = /^([0-9]+)\%/.exec(trimmedL)
+    if (/%$/.test(trimmedL)) {
+      const match = /^([0-9]+)%/.exec(trimmedL)
       return (parseInt(match[1]) / 100) < 0.4
     }
   }
-- 
GitLab