disable a diagnostic message in ccmsi

This commit is contained in:
Mikayla 2024-06-29 18:30:32 +00:00
parent 807e575580
commit 8e14fa1591

View File

@ -138,6 +138,7 @@ local function gen_tree(manifest)
for i = 1, #list do
local split = {}
---@diagnostic disable-next-line: discard-returns
string.gsub(list[i], "([^/]+)", function(c) split[#split + 1] = c end)
if #split == 1 then table.insert(tree, list[i])
else table.insert(tree, _tree_add(tree, split)) end