Fix pattern matching in deprecated value removal handler
This commit is contained in:
parent
084f846192
commit
192cf143a7
@ -252,8 +252,9 @@
|
||||
if field.deprecated then
|
||||
if value:contains("*") then
|
||||
local current = target.configset[field.name]
|
||||
local mask = path.wildcards(value)
|
||||
for _, item in ipairs(current) do
|
||||
if item:match(value) == item then
|
||||
if item:match(mask) == item then
|
||||
check(item)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user