Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.
/ homebrew-bundle Public archive

Apply --force flag if set for taps #1390

Merged
merged 1 commit into from
Jun 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/bundle/tap_installer.rb
Original file line number Diff line number Diff line change
@@ -18,6 +18,7 @@ def install(name, preinstall: true, verbose: false, force: false, **options)

puts "Installing #{name} tap. It is not currently installed." if verbose
args = []
args << "--force" if force
args.append("--force-auto-update") if options[:force_auto_update]

success = if options[:clone_target]