diff --git a/lib/mutant/reporter/cli/tput.rb b/lib/mutant/reporter/cli/tput.rb index 4f585c90..2e0026e1 100644 --- a/lib/mutant/reporter/cli/tput.rb +++ b/lib/mutant/reporter/cli/tput.rb @@ -19,12 +19,7 @@ module Mutant UNAVAILABLE = new(false, nil, nil) - INSTANCE = - if save && restore && clean - new(true, reset + save, restore + clean) - else - UNAVAILABLE - end + INSTANCE = clean ? new(true, reset + save, restore + clean) : UNAVAILABLE end # TPUT end # CLI