Skip to content

Commit

Permalink
Fix breakage after base unexported at-with
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyichao committed Mar 19, 2024
1 parent f0404e7 commit 66f0e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Suppressor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ if has_logstate
else
macro with_logstate(logstate, expr)
quote
@with($(Base.CoreLogging.CURRENT_LOGSTATE) => $(esc(logstate)), $(esc(expr)))
Base.ScopedValues.@with($(Base.CoreLogging.CURRENT_LOGSTATE) => $(esc(logstate)), $(esc(expr)))
end
end
end
Expand Down

0 comments on commit 66f0e10

Please sign in to comment.