Skip to content

Commit

Permalink
Merge pull request #990 from issyl0/fix-installing
Browse files Browse the repository at this point in the history
lib/bundle/installer: Set `preinstall` variable to `true`/`false`
  • Loading branch information
issyl0 authored Aug 4, 2021
2 parents a4aa995 + 7944186 commit 04c4152
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/bundle/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ def install(entries, global: false, file: nil, no_lock: false, no_upgrade: false

preinstall = if cls.preinstall(*args, **options, no_upgrade: no_upgrade, verbose: verbose)
puts Formatter.success("#{verb} #{name}")
true
else
puts "Using #{name}"
false
end

if cls.install(*args, **options, preinstall: preinstall, no_upgrade: no_upgrade, verbose: verbose)
Expand Down

0 comments on commit 04c4152

Please sign in to comment.