summaryrefslogtreecommitdiff
path: root/script/core
diff options
context:
space:
mode:
authorarthur <1348392749@qq.com>2021-11-01 12:10:26 +0800
committerarthur <1348392749@qq.com>2021-11-01 12:10:26 +0800
commit26031bae4e04cc0183589de17584b5c667230fc1 (patch)
tree147765be3374e6dacfa2678a0514a0995394dc2c /script/core
parent46211dc0b402086b6765c24e6174fdc2b007d326 (diff)
downloadlua-language-server-26031bae4e04cc0183589de17584b5c667230fc1.zip
pass test
Diffstat (limited to 'script/core')
-rw-r--r--script/core/diagnostics/type-check.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/core/diagnostics/type-check.lua b/script/core/diagnostics/type-check.lua
index bf481588..bbed30d8 100644
--- a/script/core/diagnostics/type-check.lua
+++ b/script/core/diagnostics/type-check.lua
@@ -23,7 +23,7 @@ local typeNameMap = {
}
local function isTable(name)
- if type(name ~= 'string') then
+ if type(name) ~= 'string' then
return
end
if tableMap[name]