mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-31 15:48:22 +00:00
Make clean a standalone command
This commit is contained in:
parent
c9aa7b9308
commit
a2bf3916f3
1 changed files with 1 additions and 3 deletions
|
@ -92,9 +92,7 @@ pub(crate) fn inner_main() -> Result<ExitCode> {
|
|||
}
|
||||
if cli.clean {
|
||||
commands::clean(&log_level)?;
|
||||
if cli.files.is_empty() {
|
||||
return Ok(ExitCode::SUCCESS);
|
||||
}
|
||||
return Ok(ExitCode::SUCCESS);
|
||||
}
|
||||
|
||||
// Construct the "default" settings. These are used when no `pyproject.toml`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue