From d440b9df151149a7bcbcbbf5f4ab7bf5c4ae8ab2 Mon Sep 17 00:00:00 2001 From: The Bundler Bot Date: Sun, 18 Jun 2017 17:35:37 +0000 Subject: Auto merge of #5785 - bundler:colby/fix-group-conflict-error, r=segiddins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix a missing space in the group conflict error message ### What was the end-user problem that led to this PR? There is a typo in the error message that is printed to users when a user specifies a set of conflicting groups when running bundle install. There is a missing space after the first sentence. ``` › bundle install --with foo --without foo You can't list a group in both, --with and --without.The offending groups are: foo. ``` ### Was was your diagnosis of the problem? execute `bundle install --with foo --without foo` (cherry picked from commit 69d18afc202f28ceb98f436c25532d02f9d4c1d6) --- lib/bundler/cli/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb index 752c5e9c55..7be842d46f 100644 --- a/lib/bundler/cli/install.rb +++ b/lib/bundler/cli/install.rb @@ -145,7 +145,7 @@ module Bundler conflicting_groups = options[:without] & options[:with] unless conflicting_groups.empty? Bundler.ui.error "You can't list a group in both, --with and --without." \ - "The offending groups are: #{conflicting_groups.join(", ")}." + " The offending groups are: #{conflicting_groups.join(", ")}." exit 1 end end -- cgit v1.2.1