Skip to content

Commit 902164d

Browse files
committed
fix another invalidation from Static.jl
This is a follow-up to JuliaLang#46481. I suggest the labels `latency` and `backport-1.8`.
1 parent fa90dc8 commit 902164d

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)