Merge pull request #151 from gnmearacaun/jsonls

fix error in jsonls 'bad argument #1 to 'ipairs' (table expected, got nil)'
pull/140/merge
Christian Chiarulli 3 years ago committed by GitHub
commit c50e916a8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -169,7 +169,7 @@ local schemas = {
}
local function extend(tab1, tab2)
for _, value in ipairs(tab2) do
for _, value in ipairs(tab2 or {}) do
table.insert(tab1, value)
end
return tab1

Loading…
Cancel
Save