We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b9fa28 commit f36c7cbCopy full SHA for f36c7cb
lua/lazy/manage/git.lua
@@ -131,7 +131,7 @@ function M.get_target(plugin)
131
commit = M.ref(plugin.dir, "tags/" .. plugin.tag),
132
}
133
end
134
- local version = plugin.version or Config.options.defaults.version
+ local version = plugin.version == nil and Config.options.defaults.version or plugin.version
135
if version then
136
local last = Semver.last(M.get_versions(plugin.dir, version))
137
if last then
0 commit comments