Exit upon showing files with --show-files (#2543)

This commit is contained in:
Charlie Marsh 2023-02-03 09:41:09 -05:00 committed by GitHub
parent b5ac93d2ee
commit d05ea4dbac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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