Skip to content

Commit

Permalink
fix post_process hook on EYLogger
Browse files Browse the repository at this point in the history
thanks to Chris Griego
  • Loading branch information
Christopher Rigor committed Mar 19, 2010
1 parent 7dc7af9 commit f8d7e08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/eycap/lib/ey_logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def self.post_process
self.close

hooks = [:any]
hooks << self.successful? ? :success : :failure
hooks << (self.successful? ? :success : :failure)
puts "Executing Post Processing Hooks"
hooks.each do |h|
@_post_process_hooks[h].each do |key|
Expand Down Expand Up @@ -122,4 +122,4 @@ def self.close
end

end
end
end

0 comments on commit f8d7e08

Please sign in to comment.