aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlyssa Ross2018-01-18 21:10:43 +0000
committerAlyssa Ross2018-01-18 21:16:19 +0000
commit78c829790d990b324320c3089c74eaec95c5ec31 (patch)
tree108c43249bdbf86fd0448d2bcee257e11edc57a3
parentd88b50968c05e8421aa799e1cf5586678a73e1e5 (diff)
downloadbrew-78c829790d990b324320c3089c74eaec95c5ec31.tar.bz2
Improve deprecation message for dependency tags
It took me a while to figure out what this deprecation actually did, because the message wasn't accurate.
-rw-r--r--Library/Homebrew/compat/dependency_collector.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/compat/dependency_collector.rb b/Library/Homebrew/compat/dependency_collector.rb
index 66e9b3f41..84d5431f3 100644
--- a/Library/Homebrew/compat/dependency_collector.rb
+++ b/Library/Homebrew/compat/dependency_collector.rb
@@ -9,7 +9,7 @@ class DependencyCollector
def parse_string_spec(spec, tags)
if (tag = tags.first) && LANGUAGE_MODULES.include?(tag)
- odeprecated "'depends_on :#{tag}'"
+ odeprecated "'depends_on ... => #{tag.inspect}'"
LanguageModuleRequirement.new(tag, spec, tags[1])
else
super