Skip to content

Commit

Permalink
Merge pull request #1571 from Homebrew/skip_link
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid authored Jan 23, 2025
2 parents 8b7112e + 3d0fcde commit d5825e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/bundle/brew_installer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ def resolve_conflicts!(verbose:)
def install!(verbose:, force:)
install_args = @args.dup
install_args << "--force" << "--overwrite" if force
install_args << "--skip-link" if @link == false
with_args = " with #{install_args.join(" ")}" if install_args.present?
puts "Installing #{@name} formula#{with_args}. It is not currently installed." if verbose
unless Bundle.brew("install", "--formula", @full_name, *install_args, verbose:)
Expand Down

0 comments on commit d5825e0

Please sign in to comment.