Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -229,16 +229,6 @@ async fn run_inner(cli: &mut Cli) -> Result<i32, FetchError> {
}
}

if cli.version {
println!("fetch {}", core::version());
return Ok(0);
}

if cli.buildinfo {
print_build_info(cli)?;
return Ok(0);
}

let direct_cli_sources = DirectCliSources::capture(cli);

apply_from_curl(cli)?;
Expand Down
4 changes: 4 additions & 0 deletions tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3786,6 +3786,10 @@ fn retry_status_rejects_stdin_body_replay() {
}

#[test]
#[cfg_attr(
windows,
ignore = "Windows can report a socket abort when the bounded retry drain abandons a large body"
)]
fn retry_status_drain_is_bounded_for_large_error_body() {
let server = PartialBodyReplayServer::start(503, "Service Unavailable", Vec::new(), "retried");

Expand Down
Loading