lib/cased/cli/interactive_session.rb in cased-ruby-0.4.4 vs lib/cased/cli/interactive_session.rb in cased-ruby-0.4.5
- old
+ new
@@ -110,11 +110,13 @@
when 'denied'
Cased::CLI::Log.log 'CLI session has been denied'
exit 1
when 'timed_out'
Cased::CLI::Log.log 'CLI session has timed out'
+ exit 1
when 'canceled'
Cased::CLI::Log.log 'CLI session has been canceled'
+ exit 0
end
end
end
end
end