Skip to content
Snippets Groups Projects
Commit a0c29eb1 authored by Mike McQuaid's avatar Mike McQuaid
Browse files

cmd/tap-info: fix Rubocop warnings.

parent b9b07fc0
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ module Homebrew
puts info
else
taps.each_with_index do |tap, i|
puts unless i == 0
puts unless i.zero?
info = "#{tap}: "
if tap.installed?
info += tap.pinned? ? "pinned" : "unpinned"
......@@ -70,7 +70,7 @@ module Homebrew
if (command_count = tap.command_files.size) > 0
info += ", #{command_count} command#{plural(command_count)}"
end
info += ", no formulae/commands" if formula_count + command_count == 0
info += ", no formulae/commands" if (formula_count + command_count).zero?
info += "\n#{tap.path} (#{tap.path.abv})"
info += "\nFrom: #{tap.remote.nil? ? "N/A" : tap.remote}"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment