Improve Formula.resolve_alias warning.
This commit is contained in:
parent
fe969c21ad
commit
9d81b0d847
@ -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?("/")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user