Skip to content

Commit

Permalink
fix another invalidation from Static.jl (#46546)
Browse files Browse the repository at this point in the history
This is a follow-up to #46481. I suggest the labels `latency` and `backport-1.8`.

(cherry picked from commit f1f5d59)
  • Loading branch information
ranocha authored and KristofferC committed Aug 31, 2022
1 parent d68417f commit 173f336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/Logging/src/ConsoleLogger.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function handle_message(logger::ConsoleLogger, level::LogLevel, message, _module
# split into lines.
msglines = [(indent=0, msg=l) for l in split(chomp(convert(String, string(message))::String), '\n')]
stream = logger.stream
if !isopen(stream)
if !(isopen(stream)::Bool)
stream = stderr
end
dsize = displaysize(stream)::Tuple{Int,Int}
Expand Down

0 comments on commit 173f336

Please sign in to comment.