Fix usages of old command API · rust-lang/rust@037b626 (original) (raw)
2 files changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -589,8 +589,7 @@ impl Step for Rustdoc { | ||
589 | 589 | .arg("--") |
590 | 590 | .arg(librustdoc_src) |
591 | 591 | .arg(rustdoc_src) |
592 | -.run(builder) | |
593 | -.is_success(); | |
592 | +.run(builder); | |
594 | 593 | |
595 | 594 | if !has_changes { |
596 | 595 | let precompiled_rustdoc = builder |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -534,7 +534,7 @@ pub fn get_closest_merge_base_commit( | ||
534 | 534 | author: &str, |
535 | 535 | target_paths: &[PathBuf], |
536 | 536 | ) -> Result<String, String> { |
537 | -let mut git = git(source_dir).capture_stdout(); | |
537 | +let mut git = git(source_dir); | |
538 | 538 | |
539 | 539 | let merge_base = get_git_merge_base(config, source_dir).unwrap_or_else(|_ |
540 | 540 |