Improve Formula.resolve_alias warning.

This commit is contained in:
Mike McQuaid 2012-04-30 16:22:34 +10:00
parent fe969c21ad
commit 9d81b0d847

View File

@ -59,6 +59,7 @@ class Formula
# in compatability because the naming is somewhat confusing # in compatability because the naming is somewhat confusing
def self.resolve_alias name def self.resolve_alias name
opoo 'Formula.resolve_alias is deprecated and will eventually be removed' opoo 'Formula.resolve_alias is deprecated and will eventually be removed'
opoo 'Use Formula.canonical_name instead.'
# Don't resolve paths or URLs # Don't resolve paths or URLs
return name if name.include?("/") return name if name.include?("/")