Skip to content

Commit

Permalink
Merge pull request #1097 from MikeMcQuaid/brew_style_fix
Browse files Browse the repository at this point in the history
brew style --fix
  • Loading branch information
MikeMcQuaid authored Jun 29, 2022
2 parents c5686db + c7aa613 commit 405a376
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bundle/installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def install(entries, global: false, file: nil, no_lock: false, no_upgrade: false
end

unless failure.zero?
puts Formatter.error "Homebrew Bundle failed! "\
puts Formatter.error "Homebrew Bundle failed! " \
"#{failure} Brewfile #{Bundle::Dsl.pluralize_dependency(failure)} failed to install."
if (lock = Bundle::Locker.lockfile(global: global, file: file)) && lock.exist?
puts Formatter.error("Check for differences in your #{lock.basename}!")
Expand All @@ -63,7 +63,7 @@ def install(entries, global: false, file: nil, no_lock: false, no_upgrade: false

Bundle::Locker.lock(entries, global: global, file: file, no_lock: no_lock)

puts Formatter.success "Homebrew Bundle complete! "\
puts Formatter.success "Homebrew Bundle complete! " \
"#{success} Brewfile #{Bundle::Dsl.pluralize_dependency(success)} now installed."
true
end
Expand Down

0 comments on commit 405a376

Please sign in to comment.