Skip to content

Commit

Permalink
promote loginator so we know where to find it from anywhere.
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandervoord committed Oct 19, 2024
1 parent 538c0ef commit b2e8535
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ceedling/loginator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ class Loginator
constructor :verbosinator, :file_wrapper, :system_wrapper

def setup()
$loginator = self
@decorators = false

# Friendly robustification for certain testing scenarios
Expand Down Expand Up @@ -311,5 +312,5 @@ def logfile(string, stream='')
end

END {
@ceedling[:loginator].wrapup
$loginator.wrapup unless $loginator.nil?
}

0 comments on commit b2e8535

Please sign in to comment.