diff options
Diffstat (limited to 'Library/Contributions/examples/brew-server')
| -rwxr-xr-x | Library/Contributions/examples/brew-server | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/examples/brew-server b/Library/Contributions/examples/brew-server index 15bd4dbb7..856baf241 100755 --- a/Library/Contributions/examples/brew-server +++ b/Library/Contributions/examples/brew-server @@ -144,7 +144,7 @@ get '/formula/:name' do end end - used_by = Formula.get_used_by()[klass.name] + used_by = Formula.all.select{|ff| ff.deps.include?(klass.name)}.map{|f| f.name}.flatten.uniq.sort unless used_by == nil s << <<-HTML <dt>Used by</td> |
