aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lua/mason-registry/sources/github.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/mason-registry/sources/github.lua b/lua/mason-registry/sources/github.lua
index 2e9c5210..833c5ba1 100644
--- a/lua/mason-registry/sources/github.lua
+++ b/lua/mason-registry/sources/github.lua
@@ -123,8 +123,8 @@ function GitHubRegistrySource:install()
return Result.try(function(try)
local version = self.spec.version
- if self:is_installed() and version ~= nil then
- -- Fixed version - nothing to update
+ if self:is_installed() and self:get_info().version == version then
+ -- Fixed version is already installed - nothing to update
return
end