lib/cc/analyzer/container/result.rb in codeclimate-0.85.24 vs lib/cc/analyzer/container/result.rb in codeclimate-0.85.25

- old
+ new

@@ -30,20 +30,20 @@ @stderr = stderr @stdout = stdout @timed_out = timed_out end - def self.skipped(ex) + def self.skipped(exception) new( exit_status: 0, skipped: true, - stderr: ex.message, + stderr: exception.message, ) end - def merge_from_exception(ex) + def merge_from_exception(exception) self.exit_status = 99 - self.stderr = ex.message + self.stderr = exception.message self end def timed_out? @timed_out