summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-01 18:43:03 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-03-01 19:39:02 +0100
commitb986e2db0f4b5593a1f0b1b9d99eacb8f5d2195a (patch)
treec1ce8867a87a6548092327981ab366d36b7aaf16
parent9d4abd6c22f3d07a56e743ee060bb4f93fcdd1dd (diff)
downloadbundler-fix_sticky_options_deprecation.tar.gz
-rw-r--r--lib/bundler/cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 2d63072299..8cff0b33eb 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -795,7 +795,7 @@ module Bundler
return unless name_index
value = options[name]
- value = "#{value.join(" ")}" if option.type == :array
+ value = value.join(" ").to_s if option.type == :array
Bundler::SharedHelpers.major_deprecation 2,\
"The `#{flag_name}` flag is deprecated because it relied on being " \