Skip to content

Commit

Permalink
Merge pull request #104 from ViugiNick/uncoding_for_2.02_cleanup
Browse files Browse the repository at this point in the history
cleanup
  • Loading branch information
denofevil authored Jul 5, 2017
2 parents 8244ebc + 50b61a4 commit b0f01dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby-debug-ide/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def timeout(sec)
def debug_eval(str, b = get_binding)
begin
str = str.to_s
str.force_encoding('UTF-8') if(RUBY_VERSION > 2.0)
str.force_encoding('UTF-8') if(RUBY_VERSION > '2.0')
to_inspect = Command.unescape_incoming(str)
max_time = Debugger.evaluation_timeout
@printer.print_debug("Evaluating %s with timeout after %i sec", str, max_time)
Expand Down

0 comments on commit b0f01dc

Please sign in to comment.