summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/diagnostic.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/script/provider/diagnostic.lua b/script/provider/diagnostic.lua
index f2d0dfaf..7be65339 100644
--- a/script/provider/diagnostic.lua
+++ b/script/provider/diagnostic.lua
@@ -299,9 +299,6 @@ function m.diagnosticsAll()
if delay < 0 then
return
end
- if m.diagnosticsAllVersion == files.globalVersion then
- return
- end
await.close 'diagnosticsAll'
await.call(function ()
await.sleep(delay)
@@ -326,7 +323,6 @@ function m.diagnosticsAll()
end
end
bar:remove()
- m.diagnosticsAllVersion = files.globalVersion
log.debug('全文诊断耗时:', os.clock() - clock)
end, 'files.version', 'diagnosticsAll')
end