From 8e14fa1591a8ab9aefc1a141c90e86910abc1e49 Mon Sep 17 00:00:00 2001 From: Mikayla Date: Sat, 29 Jun 2024 18:30:32 +0000 Subject: [PATCH] disable a diagnostic message in ccmsi --- ccmsi.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/ccmsi.lua b/ccmsi.lua index cc4a5d0..86f2094 100644 --- a/ccmsi.lua +++ b/ccmsi.lua @@ -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