summaryrefslogtreecommitdiff
path: root/server/src/async/scanfiles.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-22 17:08:22 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-22 17:08:22 +0800
commit030a4996d3aa2262808bfc3ed92440678df9d00b (patch)
tree4b13491e8695d7e038a862f7e4dd265ffbeb4219 /server/src/async/scanfiles.lua
parent73d85a0172ba551e82487cf62c9565ecd4f2753f (diff)
downloadlua-language-server-030a4996d3aa2262808bfc3ed92440678df9d00b.zip
哈希表可以直接传
Diffstat (limited to 'server/src/async/scanfiles.lua')
-rw-r--r--server/src/async/scanfiles.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/async/scanfiles.lua b/server/src/async/scanfiles.lua
index 650141a2..4829f8e1 100644
--- a/server/src/async/scanfiles.lua
+++ b/server/src/async/scanfiles.lua
@@ -7,7 +7,7 @@ local ignore = {
['node_modules'] = true,
}
-for _, name in pairs(args.ignore) do
+for name in pairs(args.ignore) do
ignore[name] = true
end