mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 05:45:24 +00:00
Disable auto-updates in JSON mode (#760)
This commit is contained in:
parent
0d3fac1bf9
commit
5f9815b103
1 changed files with 2 additions and 0 deletions
|
@ -124,6 +124,8 @@ pub fn extract_log_level(cli: &Cli) -> LogLevel {
|
|||
LogLevel::Quiet
|
||||
} else if cli.verbose {
|
||||
LogLevel::Verbose
|
||||
} else if matches!(cli.format, SerializationFormat::Json) {
|
||||
LogLevel::Quiet
|
||||
} else {
|
||||
LogLevel::Default
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue