Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

Commit

Permalink
fixed ctrl+c handling for no,thanks,and add commands
Browse files Browse the repository at this point in the history
  • Loading branch information
hubsmoke committed Jan 28, 2014
1 parent 9ae8299 commit 084c05c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/bro.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def require_relative(path)
c.action do |args, options|
begin
login_details = state.check_email
rescue
rescue Interrupt, StandardError
say "Sorry, you can't do this without email verification".sorry
end
unless login_details.nil?
Expand Down Expand Up @@ -86,9 +86,8 @@ def require_relative(path)
c.action do |args, options|
begin
login_details = state.check_email
rescue
rescue Interrupt, StandardError
say "Sorry, you can't do this without email verification".sorry
say "#{e}"
end
unless login_details.nil?

Expand Down

0 comments on commit 084c05c

Please sign in to comment.