summaryrefslogtreecommitdiff
path: root/script/proto/diagnostic.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/proto/diagnostic.lua')
-rw-r--r--script/proto/diagnostic.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/proto/diagnostic.lua b/script/proto/diagnostic.lua
index 25f187db..43043b94 100644
--- a/script/proto/diagnostic.lua
+++ b/script/proto/diagnostic.lua
@@ -224,7 +224,7 @@ end
---@param name string
---@return string[]
-m.getGroups = util.catchReturn(function (name)
+m.getGroups = util.cacheReturn(function (name)
local groups = {}
for groupName, nameMap in pairs(m.diagnosticGroups) do
if nameMap[name] then