Skip to content

Commit 173f336

Browse files
ranochaKristofferC
authored andcommitted
fix another invalidation from Static.jl (#46546)
This is a follow-up to #46481. I suggest the labels `latency` and `backport-1.8`. (cherry picked from commit f1f5d59)
1 parent d68417f commit 173f336

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/Logging/src/ConsoleLogger.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function handle_message(logger::ConsoleLogger, level::LogLevel, message, _module
118118
# split into lines.
119119
msglines = [(indent=0, msg=l) for l in split(chomp(convert(String, string(message))::String), '\n')]
120120
stream = logger.stream
121-
if !isopen(stream)
121+
if !(isopen(stream)::Bool)
122122
stream = stderr
123123
end
124124
dsize = displaysize(stream)::Tuple{Int,Int}

0 commit comments

Comments
 (0)