summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/diagnostic.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/script/provider/diagnostic.lua b/script/provider/diagnostic.lua
index 40849638..f93de54c 100644
--- a/script/provider/diagnostic.lua
+++ b/script/provider/diagnostic.lua
@@ -97,11 +97,17 @@ local function merge(a, b)
local t = {}
if a then
for i = 1, #a do
+ if #t >= 100 then
+ break
+ end
t[#t+1] = a[i]
end
end
if b then
for i = 1, #b do
+ if #t >= 100 then
+ break
+ end
t[#t+1] = b[i]
end
end