summaryrefslogtreecommitdiff
path: root/script/doctor.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/doctor.lua')
-rw-r--r--script/doctor.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/doctor.lua b/script/doctor.lua
index 91a7e4b8..87cdcfcb 100644
--- a/script/doctor.lua
+++ b/script/doctor.lua
@@ -175,6 +175,9 @@ m.snapshot = private(function ()
exclude[o] = true
end
end
+ ---@generic T
+ ---@param o T
+ ---@return T
local function private(o)
if not o then
return nil