Code cleanup
This commit is contained in:
parent
c069babe76
commit
ab25ba0b40
@ -13,6 +13,7 @@ module Compass::Exec
|
|||||||
def run!
|
def run!
|
||||||
begin
|
begin
|
||||||
perform!
|
perform!
|
||||||
|
return 0
|
||||||
rescue Exception => e
|
rescue Exception => e
|
||||||
raise e if e.is_a? SystemExit
|
raise e if e.is_a? SystemExit
|
||||||
if e.is_a?(::Compass::Error) || e.is_a?(OptionParser::ParseError)
|
if e.is_a?(::Compass::Error) || e.is_a?(OptionParser::ParseError)
|
||||||
@ -22,7 +23,6 @@ module Compass::Exec
|
|||||||
end
|
end
|
||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
return 0
|
|
||||||
end
|
end
|
||||||
|
|
||||||
protected
|
protected
|
||||||
|
Loading…
Reference in New Issue
Block a user