cmd/prune: fix Rubocop warnings.
This commit is contained in:
parent
ae43b79ca2
commit
f9c621304d
@ -47,6 +47,7 @@ module Homebrew
|
||||
end
|
||||
end
|
||||
|
||||
unless ARGV.dry_run?
|
||||
if ObserverPathnameExtension.total.zero?
|
||||
puts "Nothing pruned" if ARGV.verbose?
|
||||
else
|
||||
@ -54,7 +55,8 @@ module Homebrew
|
||||
print "Pruned #{n} symbolic links "
|
||||
print "and #{d} directories " if d > 0
|
||||
puts "from #{HOMEBREW_PREFIX}"
|
||||
end unless ARGV.dry_run?
|
||||
end
|
||||
end
|
||||
|
||||
unlinkapps_prune(:dry_run => ARGV.dry_run?, :quiet => true)
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user