summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThe Bundler Bot <bot@bundler.io>2017-06-18 17:35:37 +0000
committerThe Bundler Bot <bot@bundler.io>2017-06-18 17:35:37 +0000
commit69d18afc202f28ceb98f436c25532d02f9d4c1d6 (patch)
tree97a6b9e8bcd3724aa3bf2401a86e022459117bb1
parent79511d27da949090cf8bb826b5c69dd5e632156c (diff)
parentba694ef8ebfed038f1753f19ddc3b17f67e8c793 (diff)
downloadbundler-69d18afc202f28ceb98f436c25532d02f9d4c1d6.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`
-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 f36ca94821..c110f516fc 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