summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-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]