lib/travis/cli/logs.rb in travis-1.6.15.travis.560.6 vs lib/travis/cli/logs.rb in travis-1.6.15.travis.561.6
- old
+ new
@@ -35,9 +35,11 @@
def display_log(job)
info "displaying logs for #{color(job.inspect_info, [:bold, :info])}"
return print_log(job.log.body) unless stream?
job.log.body { |part| print_log(part) }
+ ensure
+ print "\e[0m" if interactive?
end
def print_log(part)
print interactive? ? encoded(part) : clean(part)
end
\ No newline at end of file