mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-30 16:33:49 +00:00
Exit upon showing files with --show-files
(#2543)
This commit is contained in:
parent
b5ac93d2ee
commit
d05ea4dbac
1 changed files with 1 additions and 0 deletions
|
@ -102,6 +102,7 @@ fn check(args: CheckArgs, log_level: LogLevel) -> Result<ExitCode> {
|
|||
}
|
||||
if cli.show_files {
|
||||
commands::show_files(&cli.files, &pyproject_strategy, &overrides)?;
|
||||
return Ok(ExitCode::SUCCESS);
|
||||
}
|
||||
|
||||
// Extract options that are included in `Settings`, but only apply at the top
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue