Skip to content

Commit

Permalink
Fix issue referencing in-dev wally libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
devSparkle committed Oct 7, 2023
1 parent e13926c commit f961210
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"theme": "dark"
},
"license": "SEE LICENSE IN LICENSE",
"version": "1.1.0",
"version": "1.1.1",
"engines": {
"vscode": "^1.82.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/roblox-lsp-plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ local function _GetMatchingModule(MatchName)
local Success, Match = pcall(string.find, FullName, "%." .. MatchName .. "$")

if (Success and Match) and _IsoLibrary(FilePath) then
return string.gsub(string.gsub(FullName, "%.([^%.]-[@]%d+%.%d+%.%d+)", "[\"%1\"]"), "%.(%a-[ ][^%.]*)", "[\"%1\"]")
return string.gsub(string.gsub(FullName, "%.([^%.]-[@]%d+%.%d+%.%d+-?%w*)", "[\"%1\"]"), "%.(%a-[ ][^%.]*)", "[\"%1\"]")
end
end
end
Expand Down

0 comments on commit f961210

Please sign in to comment.