summaryrefslogtreecommitdiff
path: root/server/src/workspace.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/workspace.lua')
-rw-r--r--server/src/workspace.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/workspace.lua b/server/src/workspace.lua
index d50deca7..f9b243ad 100644
--- a/server/src/workspace.lua
+++ b/server/src/workspace.lua
@@ -378,7 +378,7 @@ function mt:matchPath(baseUri, input)
if not basePath then
return nil
end
- local baseName = getFileName()
+ local baseName = getFileName(basePath)
local rootLen = #self.root:string(basePath)
local map = {}
for filename in pairs(self.files) do