diff options
| author | Alyssa Ross | 2018-01-18 21:10:43 +0000 |
|---|---|---|
| committer | Alyssa Ross | 2018-01-18 21:16:19 +0000 |
| commit | 78c829790d990b324320c3089c74eaec95c5ec31 (patch) | |
| tree | 108c43249bdbf86fd0448d2bcee257e11edc57a3 | |
| parent | d88b50968c05e8421aa799e1cf5586678a73e1e5 (diff) | |
| download | brew-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.rb | 2 |
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 |
