diff options
| author | Alyssa Ross | 2016-09-27 21:56:56 +0100 |
|---|---|---|
| committer | Alyssa Ross | 2016-10-25 22:34:34 +0100 |
| commit | 08f3aecf6b1da82b54a8a103ba5ed440554b9f45 (patch) | |
| tree | 7fd4d248fb057eec3434c9adf606614511d5462b /Library/Homebrew/cmd | |
| parent | e41c4e502987d49bda9d86ad8ecd1b4e213ba9c5 (diff) | |
| download | brew-08f3aecf6b1da82b54a8a103ba5ed440554b9f45.tar.bz2 | |
uninstall: consistent spelling of "dependent"
@ilovezfs pointed out that Homebrew generally uses "dependent", rather than
"dependant".
Diffstat (limited to 'Library/Homebrew/cmd')
| -rw-r--r-- | Library/Homebrew/cmd/uninstall.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Homebrew/cmd/uninstall.rb b/Library/Homebrew/cmd/uninstall.rb index d9d3ef883..30806942b 100644 --- a/Library/Homebrew/cmd/uninstall.rb +++ b/Library/Homebrew/cmd/uninstall.rb @@ -16,11 +16,11 @@ module Homebrew if !ARGV.force? ARGV.kegs.each do |keg| - dependants = keg.installed_dependants - if dependants.any? - dependants_output = dependants.map { |k| "#{k.name} #{k.version}" }.join(", ") - conjugation = dependants.count == 1 ? "is" : "are" - ofail "Refusing to uninstall #{keg} because it is required by #{dependants_output}, which #{conjugation} currently installed." + dependents = keg.installed_dependents + if dependents.any? + dependents_output = dependents.map { |k| "#{k.name} #{k.version}" }.join(", ") + conjugation = dependents.count == 1 ? "is" : "are" + ofail "Refusing to uninstall #{keg} because it is required by #{dependents_output}, which #{conjugation} currently installed." puts "You can override this and force removal with `brew uninstall --force #{keg.name}`." next end |
