Skip to content

Commit

Permalink
pluginmanager: don't skip updating plugins installed with --version
Browse files Browse the repository at this point in the history
  • Loading branch information
yaauie committed Feb 28, 2025
1 parent 7caf371 commit e74c4fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/pluginmanager/gemfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ def add_gem(_gem)
# update existing or add new
def update_gem(_gem)
if old = find_gem(_gem.name)
# always overwrite requirements if specified
old.requirements = _gem.requirements unless no_constrains?(_gem.requirements)
# always overwrite requirements
old.requirements = _gem.requirements
# but merge options
old.options = old.options.merge(_gem.options)
else
Expand Down

0 comments on commit e74c4fc

Please sign in to comment.