From fe894678322261a285ec51a27c1fb766061dee67 Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Wed, 8 Jun 2016 08:53:11 -0700 Subject: [PATCH] exceptions: Remove duplicate "a" in "must be built from source" error (#339) otherwise would get "cannot be installed as a a binary package" since `package_text` contains "a binary package" in the singular case --- Library/Homebrew/exceptions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 765172e159..d755f48c49 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -400,7 +400,7 @@ class BuildToolsError < RuntimeError super <<-EOS.undent The following #{formula_text}: #{formulae.join(", ")} - cannot be installed as a #{package_text} and must be built from source. + cannot be installed as #{package_text} and must be built from source. #{xcode_text} EOS end