Commit 1a94b8ec authored by Leo's avatar Leo

feat(secfixes-check): add function to check value in a set

parent 66efd486
#!/usr/bin/lua5.3
local function has(set, neddle)
for _, v in ipairs(set) do
if v == neddle then
return true
end
end
return false
end
local function violation(str, line, tag, sevcer)
if os.getenv('SKIP_AL'..tag) then
return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment