mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-01 09:22:19 +00:00
Hide globset logging even with --verbose
This commit is contained in:
parent
56f935640a
commit
c26b58ba28
2 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,6 @@ cfg_if! {
|
|||
if #[cfg(not(target_family = "wasm"))] {
|
||||
pub mod packaging;
|
||||
|
||||
|
||||
mod lib_native;
|
||||
pub use lib_native::check;
|
||||
} else {
|
||||
|
|
|
@ -83,6 +83,7 @@ pub fn set_up_logging(level: &LogLevel) -> Result<()> {
|
|||
));
|
||||
})
|
||||
.level(level.level_filter())
|
||||
.level_for("globset", log::LevelFilter::Warn)
|
||||
.chain(std::io::stderr())
|
||||
.apply()?;
|
||||
Ok(())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue