diff options
Diffstat (limited to 'Library/Homebrew/cmd/list.rb')
| -rw-r--r-- | Library/Homebrew/cmd/list.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/list.rb b/Library/Homebrew/cmd/list.rb index 53985d113..068f26835 100644 --- a/Library/Homebrew/cmd/list.rb +++ b/Library/Homebrew/cmd/list.rb @@ -136,7 +136,7 @@ class PrettyListing root.children.sort.each do |pn| if pn.directory? dirs << pn - elsif block_given? and yield pn + elsif block_given? && yield(pn) puts pn other = "other " else |
