Skip to content

Commit

Permalink
fix(golang): fix fetching package versions for packages containing su…
Browse files Browse the repository at this point in the history
…bpath specifier (#1607)
  • Loading branch information
williamboman authored Jan 22, 2024
1 parent bce96d2 commit 9c94168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/mason-core/installer/registry/providers/golang.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ end
---@async
---@param purl Purl
function M.get_versions(purl)
return providers.golang.get_all_versions(get_package_name(purl))
return providers.golang.get_all_versions(("%s/%s"):format(purl.namespace, purl.name))
end

return M

0 comments on commit 9c94168

Please sign in to comment.