Skip to content

Commit

Permalink
[opal-repl] ^D/EOF should exit repl
Browse files Browse the repository at this point in the history
  • Loading branch information
adambeynon committed Oct 7, 2013
1 parent 888b783 commit 9fa23ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/opal-repl
Expand Up @@ -37,7 +37,7 @@ module Opal
line = Readline.readline '>> ', true

# if we type exit, then we need to close down context
if line == "exit"
if line == "exit" or line.nil?
break
end

Expand Down

0 comments on commit 9fa23ed

Please sign in to comment.