diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-26 15:26:50 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-07-26 15:26:50 +0800 |
commit | 3d21c63ec3e330dc717008b37f8fb1fa38d41862 (patch) | |
tree | 52901f9896ba21e8b043169ebe95b9f1c2a2f636 | |
parent | 086410d0b4d0ddd6389ac4e73159271dffac2981 (diff) | |
download | lua-language-server-3d21c63ec3e330dc717008b37f8fb1fa38d41862.zip |
only checks `1`
-rw-r--r-- | script/core/diagnostics/count-down-loop.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/count-down-loop.lua b/script/core/diagnostics/count-down-loop.lua index 88cb06ab..bd6e5ee3 100644 --- a/script/core/diagnostics/count-down-loop.lua +++ b/script/core/diagnostics/count-down-loop.lua @@ -18,7 +18,7 @@ return function (uri, callback) if minNumber and maxNumber and minNumber <= maxNumber then return end - if not minNumber and maxNumber > 1 then + if not minNumber and maxNumber ~= 1 then return end if not source.step then |