Skip to content

Commit

Permalink
Fix gemfury#6
Browse files Browse the repository at this point in the history
Errors should cause a non-zero exit code.

See rails/thor#244
  • Loading branch information
jabley committed Dec 19, 2013
1 parent 4e97f0c commit ec5d0d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/gemfury/command/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,11 @@ def migrate(*paths)
end
end

# Ensure that errors cause a non-zero exit code to be propagated
def self.exit_on_failure?
true
end

private
def client
opts = {}
Expand Down

0 comments on commit ec5d0d6

Please sign in to comment.