From 2e6a5507061758113293e4183ddf53a54a4463a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 20 Nov 2019 14:29:39 +0800 Subject: =?UTF-8?q?=E8=BF=9B=E4=B8=80=E6=AD=A5=E8=BF=87=E6=BB=A4=E6=9C=AA?= =?UTF-8?q?=E6=94=B9=E5=8F=98=E7=9A=84=E8=AF=8A=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server-beta/src/core/diagnostics/init.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'server-beta/src/core/diagnostics') diff --git a/server-beta/src/core/diagnostics/init.lua b/server-beta/src/core/diagnostics/init.lua index c5abff25..0d523f26 100644 --- a/server-beta/src/core/diagnostics/init.lua +++ b/server-beta/src/core/diagnostics/init.lua @@ -33,5 +33,9 @@ return function (uri) check(uri, name, level, results) end + if #results == 0 then + return nil + end + return results end -- cgit v1.2.3