Skip to content

Commit

Permalink
enable exit on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
thaim committed Aug 16, 2020
1 parent 34454af commit 576b3ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/weekdone/cli/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@

module Weekdone::Cli
class Command < Thor
def self.exit_on_failure?
true
end

desc "login", "oauth login to weekdone"
def login
client_id = ENV['WEEKDONE_CLIENT_ID']
Expand Down

0 comments on commit 576b3ae

Please sign in to comment.