Skip to content

Commit

Permalink
Merge pull request #23 from 3scale/another-bug-fix
Browse files Browse the repository at this point in the history
Fix issue with rover always install latest rock
  • Loading branch information
tkan145 authored Jan 15, 2025
2 parents 8bc13c3 + 907a379 commit 8686f0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rover/install.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ local function install(name, version, deps_mode, force)
})

if not repos.is_installed(name, version) then
local spec, err = assert(search.find_src_or_rockspec(name))
local spec, err = assert(search.find_src_or_rockspec(name, nil, version))
if not spec then
return nil, err
end
Expand Down

0 comments on commit 8686f0b

Please sign in to comment.