Skip to content

Commit

Permalink
fix invalidations in logging (#46481)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha authored Aug 26, 2022
1 parent c491e79 commit ce6e9ee
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 @@ -672,7 +672,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 ce6e9ee

Please sign in to comment.