lib/ruboty/adapters/shell.rb in ruboty-1.2.1 vs lib/ruboty/adapters/shell.rb in ruboty-1.2.2
- old
+ new
@@ -43,10 +43,10 @@
stop
end
def step
case body = read
- when "exit", "quit"
+ when "exit", "quit", nil
stop
else
robot.receive(body: body, source: SOURCE)
end
end