We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f89e6bb commit 76d27aaCopy full SHA for 76d27aa
1 file changed
src/luau-lsp-plugin.luau
@@ -37,7 +37,7 @@ local function GetRelativePath(Path: string, RelativeTo: string)
37
end
38
39
Path = `./{Path}`
40
- Path = string.gsub(Path, "%./%.%.", "..")
+ Path = string.gsub(Path, "^%./%.%.", "..")
41
42
return Path
43
0 commit comments