mirror of
https://github.com/astral-sh/ruff
synced 2026-01-20 21:10:48 -05:00
Exit upon showing files with --show-files (#2543)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user