diff options
Diffstat (limited to 'server-beta/src/files.lua')
-rw-r--r-- | server-beta/src/files.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server-beta/src/files.lua b/server-beta/src/files.lua index 03a1589e..3c0862c2 100644 --- a/server-beta/src/files.lua +++ b/server-beta/src/files.lua @@ -208,9 +208,7 @@ function m.getGlobals(uri) file.globals = {} searcher.eachGlobal(ast.ast, function (info) local name = info.key - if name then - file.globals[name] = true - end + file.globals[name] = true end) return file.globals end |