Tell Thor to return the right exit code on failure

This commit is contained in:
Ben Hollis 2012-03-18 17:30:25 -06:00
parent 85d2ace5ce
commit bacffeea02
3 changed files with 14 additions and 3 deletions

View file

@ -53,7 +53,10 @@ module Middleman::Cli
# Static methods
class << self
def exit_on_failure?
true
end
# Middleman::Base singleton
#
# @return [Middleman::Base]