mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-29 05:14:52 +00:00
[ty] Update salsa to fix hang when cycle head panics (#20577)
This commit is contained in:
parent
35ed55ec8c
commit
c256c7943c
4 changed files with 9 additions and 7 deletions
|
@ -120,8 +120,10 @@ pub(crate) fn setup_tracing(
|
|||
} else {
|
||||
match level {
|
||||
VerbosityLevel::Default => {
|
||||
// Show warning traces
|
||||
EnvFilter::default().add_directive(LevelFilter::WARN.into())
|
||||
// Show warning traces for ty and ruff but not for other crates
|
||||
EnvFilter::default()
|
||||
.add_directive("ty=warn".parse().unwrap())
|
||||
.add_directive("ruff=warn".parse().unwrap())
|
||||
}
|
||||
level => {
|
||||
let level_filter = level.level_filter();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue