Skip to content

Commit

Permalink
Exit upon showing files with --show-files (#2543)
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Feb 3, 2023
1 parent b5ac93d commit d05ea4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ruff_cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d05ea4d

Please sign in to comment.