summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThe Bundler Bot <bot@bundler.io>2017-06-18 17:35:37 +0000
committerSamuel Giddins <segiddins@segiddins.me>2017-07-17 12:02:18 -0500
commitd440b9df151149a7bcbcbbf5f4ab7bf5c4ae8ab2 (patch)
treef15d3bc8137f7cf52978a4a6d4248d8db21e7b14
parent4db4fbd7b6a4e5c1bf1e7c4f22e6147619dcfcb2 (diff)
downloadbundler-d440b9df151149a7bcbcbbf5f4ab7bf5c4ae8ab2.tar.gz
Auto merge of #5785 - bundler:colby/fix-group-conflict-error, r=segiddins
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)
-rw-r--r--lib/bundler/cli/install.rb2
1 files changed, 1 insertions, 1 deletions
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