Fix undeclared global...

https://github.com/AntumMT/mod-cleaner/issues/2
This commit is contained in:
Jordan Irwin 2022-01-10 14:21:48 -08:00 committed by GitHub
parent b261dda15c
commit 9ca550703b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,7 +137,7 @@ local function format_params(cmd)
local param_count
local all_params = {}
if def.params then
for k, v in ipairs(def.params) do
for _, p in ipairs(def.params) do
table.insert(all_params, p)
end
end