summaryrefslogtreecommitdiff
path: root/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/vendor/thor/lib/thor/parser/arguments.rb')
-rw-r--r--lib/bundler/vendor/thor/lib/thor/parser/arguments.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb b/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb
index 1fd790f4b7..a17a3fcf22 100644
--- a/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb
+++ b/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb
@@ -9,7 +9,7 @@ class Bundler::Thor
arguments = []
args.each do |item|
- break if item =~ /^-/
+ break if item.is_a?(String) && item =~ /^-/
arguments << item
end