diff options
Diffstat (limited to 'server/src/workspace.lua')
-rw-r--r-- | server/src/workspace.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/src/workspace.lua b/server/src/workspace.lua index 74a674ed..fe1289f4 100644 --- a/server/src/workspace.lua +++ b/server/src/workspace.lua @@ -239,6 +239,7 @@ function mt:matchPath(baseUri, input) local list = {} for str in pairs(map) do list[#list+1] = str + map[str] = map[str]:sub(rootLen + 2) end if #list == 0 then return nil @@ -252,7 +253,7 @@ function mt:matchPath(baseUri, input) return sa > sb end end) - return list + return list, map end function mt:searchPath(baseUri, str) |