diff options
| author | Jack Nagel | 2012-07-17 03:22:57 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-07-17 03:23:59 -0500 |
| commit | 5a78018bcfc8afd093c13f0f64dbe8309a73a615 (patch) | |
| tree | 8c1436b7180e3dd0f75a5db076c78f1dfedc0c48 /Library | |
| parent | 9eab75b775b3cfd03cbc781979b3fa0b5cc27d83 (diff) | |
| download | homebrew-5a78018bcfc8afd093c13f0f64dbe8309a73a615.tar.bz2 | |
Formula: mirrors are always non-nil
Since 3ee9b7bd88a2d9017cdf005b10567a1d6d8ec211 ("SoftwareSpec:
initialize @mirrors"), @active_spec.mirrors will always be non-nil.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/formula.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 3de5e5593..e91fe388e 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -85,10 +85,10 @@ class Formula end end - def url; @active_spec.url; end - def version; @active_spec.version; end - def specs; @active_spec.specs; end - def mirrors; @active_spec.mirrors or []; end + def url; @active_spec.url; end + def version; @active_spec.version; end + def specs; @active_spec.specs; end + def mirrors; @active_spec.mirrors; end # if the dir is there, but it's empty we consider it not installed def installed? |
