Skip to content

Commit

Permalink
fix invalidations in logging (#46481)
Browse files Browse the repository at this point in the history
(cherry picked from commit ce6e9ee)
  • Loading branch information
ranocha authored and KristofferC committed Aug 30, 2022
1 parent 5d03fcd commit bb94590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/logging.jl
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ function handle_message(logger::SimpleLogger, level::LogLevel, message, _module,
end
buf = IOBuffer()
stream = logger.stream
if !isopen(stream)
if !(isopen(stream)::Bool)
stream = stderr
end
iob = IOContext(buf, stream)
Expand Down

0 comments on commit bb94590

Please sign in to comment.