brew search: fix --desc regression
Fixes homebrew/homebrew-core#22 Closes #12. Signed-off-by: Andrew Janke <andrew@apjanke.net>
This commit is contained in:
parent
fbc5fc3e92
commit
ac80883046
@ -37,6 +37,7 @@ class Descriptions
|
|||||||
# repos were updated more recently than it was.
|
# repos were updated more recently than it was.
|
||||||
def self.cache_fresh?
|
def self.cache_fresh?
|
||||||
return false unless CACHE_FILE.exist?
|
return false unless CACHE_FILE.exist?
|
||||||
|
cache_mtime = File.mtime(CACHE_FILE)
|
||||||
|
|
||||||
Tap.each do |tap|
|
Tap.each do |tap|
|
||||||
next unless tap.git?
|
next unless tap.git?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user