Skip to content
Browse files

add to_s to exceptions as option parser no longer does implicit conve…

…rsion, makes spec pass
  • Loading branch information...
1 parent de5c7a1 commit a1384e08032db6849402c4f62cee11ce1ebe3333 Justin Lynn committed with Gabriel Gilder
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/commander/runner.rb
2 lib/commander/runner.rb
@@ -66,7 +66,7 @@ def run!
OptionParser::MissingArgument => e
- abort e
+ abort e.to_s
rescue => e
abort "error: #{e}. Use --trace to view backtrace"

0 comments on commit a1384e0

Please sign in to comment.
Something went wrong with that request. Please try again.