diff options
Diffstat (limited to 'script/workspace')
-rw-r--r-- | script/workspace/workspace.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua index 57bdc00f..37585eba 100644 --- a/script/workspace/workspace.lua +++ b/script/workspace/workspace.lua @@ -134,16 +134,16 @@ function m.getLibraryMatchers() local librarys = {} for path, pattern in pairs(config.config.workspace.library) do - librarys[m.normalize(path)] = pattern + librarys[m.normalize(path)] = true end if library.metaPath then librarys[m.normalize(library.metaPath)] = true end m.libraryMatchers = {} - for path, pattern in pairs(librarys) do + for path in pairs(librarys) do if fs.exists(fs.path(path)) then local nPath = fs.absolute(fs.path(path)):string() - local matcher = glob.gitignore(pattern, m.matchOption, globInteferFace) + local matcher = glob.gitignore(true, m.matchOption, globInteferFace) if platform.OS == 'Windows' then matcher:setOption 'ignoreCase' end |