diff options
| author | Markus Reiter | 2017-03-11 11:33:12 +0100 |
|---|---|---|
| committer | Markus Reiter | 2017-03-11 21:12:51 +0100 |
| commit | c594ffefbc18933fbd89750a8720e1c0576f4ee7 (patch) | |
| tree | fa2ee42b7fde0552ed7ebde95f600a3cadd6e8c8 /Library/Homebrew/tap.rb | |
| parent | 666ab1438c0aba8d4c0f4b540a5ccdba485f0eca (diff) | |
| download | brew-c594ffefbc18933fbd89750a8720e1c0576f4ee7.tar.bz2 | |
Add `Formatter::pluralize`.
Diffstat (limited to 'Library/Homebrew/tap.rb')
| -rw-r--r-- | Library/Homebrew/tap.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/tap.rb b/Library/Homebrew/tap.rb index f071904a4..56e06834d 100644 --- a/Library/Homebrew/tap.rb +++ b/Library/Homebrew/tap.rb @@ -239,7 +239,7 @@ class Tap link_completions_and_manpages formula_count = formula_files.size - puts "Tapped #{formula_count} formula#{plural(formula_count, "e")} (#{path.abv})" unless quiet + puts "Tapped #{Formatter.pluralize(formula_count, "formula")} (#{path.abv})" unless quiet Descriptions.cache_formulae(formula_names) return if options[:clone_target] @@ -273,7 +273,7 @@ class Tap Utils::Link.unlink_completions(path) path.rmtree path.parent.rmdir_if_possible - puts "Untapped #{formula_count} formula#{plural(formula_count, "e")}" + puts "Untapped #{Formatter.pluralize(formula_count, "formula")}" clear_cache end |
