mirror of
https://github.com/Start9Labs/registry.git
synced 2026-03-26 02:11:53 +00:00
fix lookup of device value
This commit is contained in:
@@ -252,5 +252,4 @@ areRegexMatchesEqual textMap (PackageDevice regexMap) =
|
||||
checkMatch :: (Text, RegexPattern) -> Bool
|
||||
checkMatch (key, regexPattern) =
|
||||
case MM.lookup key textMap of
|
||||
_ : xs -> or $ regexMatch regexPattern <$> xs
|
||||
[] -> False
|
||||
val -> or $ regexMatch regexPattern <$> val
|
||||
Reference in New Issue
Block a user