summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/workspace/workspace.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index 37585eba..cb033582 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -13,11 +13,11 @@ local sp = require 'bee.subprocess'
local m = {}
m.type = 'workspace'
-m.nativeVersion = -1
+m.nativeVersion = -1
m.libraryVersion = -1
-m.nativeMatcher = nil
-m.requireCache = {}
-m.matchOption = {
+m.nativeMatcher = nil
+m.requireCache = {}
+m.matchOption = {
ignoreCase = platform.OS == 'Windows',
}
@@ -133,7 +133,7 @@ function m.getLibraryMatchers()
end
local librarys = {}
- for path, pattern in pairs(config.config.workspace.library) do
+ for path in pairs(config.config.workspace.library) do
librarys[m.normalize(path)] = true
end
if library.metaPath then