mirror of https://github.com/astral-sh/ruff
Exit upon showing files with `--show-files` (#2543)
This commit is contained in:
parent
b5ac93d2ee
commit
d05ea4dbac
|
|
@ -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…
Reference in New Issue