Skip to content

Commit

Permalink
tap: remove "rubocop:disable" comment
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehaiPan committed Oct 12, 2021
1 parent 889b30b commit 2be19d8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Library/Homebrew/tap.rb
Expand Up @@ -389,9 +389,9 @@ def fix_remote_configuration(requested_remote: nil, quiet: false)
path.git_rename_branch old: current_upstream_head, new: new_upstream_head
path.git_branch_set_upstream local: new_upstream_head, origin: new_upstream_head

unless quiet # rubocop:disable Style/GuardClause
$stderr.ohai "#{name}: changed default branch name from #{current_upstream_head} to #{new_upstream_head}!"
end
return if quiet

$stderr.ohai "#{name}: changed default branch name from #{current_upstream_head} to #{new_upstream_head}!"
end

# Uninstall this {Tap}.
Expand Down

0 comments on commit 2be19d8

Please sign in to comment.