mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
disable a diagnostic message in ccmsi
This commit is contained in:
parent
807e575580
commit
8e14fa1591
@ -138,6 +138,7 @@ local function gen_tree(manifest)
|
|||||||
|
|
||||||
for i = 1, #list do
|
for i = 1, #list do
|
||||||
local split = {}
|
local split = {}
|
||||||
|
---@diagnostic disable-next-line: discard-returns
|
||||||
string.gsub(list[i], "([^/]+)", function(c) split[#split + 1] = c end)
|
string.gsub(list[i], "([^/]+)", function(c) split[#split + 1] = c end)
|
||||||
if #split == 1 then table.insert(tree, list[i])
|
if #split == 1 then table.insert(tree, list[i])
|
||||||
else table.insert(tree, _tree_add(tree, split)) end
|
else table.insert(tree, _tree_add(tree, split)) end
|
||||||
|
Loading…
Reference in New Issue
Block a user