aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/prune.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/prune.rb')
-rw-r--r--Library/Homebrew/cmd/prune.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/prune.rb b/Library/Homebrew/cmd/prune.rb
index 9fc6dbcd9..7ec2838ba 100644
--- a/Library/Homebrew/cmd/prune.rb
+++ b/Library/Homebrew/cmd/prune.rb
@@ -55,7 +55,7 @@ module Homebrew
else
n, d = ObserverPathnameExtension.counts
print "Pruned #{n} symbolic links "
- print "and #{d} directories " if d > 0
+ print "and #{d} directories " if d.positive?
puts "from #{HOMEBREW_PREFIX}"
end
end