Skip to content

Commit

Permalink
Fix usages of old command API
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Jul 26, 2024
1 parent 82d5743 commit 29565e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/bootstrap/src/core/build_steps/tool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,7 @@ impl Step for Rustdoc {
.arg("--")
.arg(librustdoc_src)
.arg(rustdoc_src)
.run(builder)
.is_success();
.run(builder);

if !has_changes {
let precompiled_rustdoc = builder
Expand Down
2 changes: 1 addition & 1 deletion src/bootstrap/src/utils/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ pub fn get_closest_merge_base_commit(
author: &str,
target_paths: &[PathBuf],
) -> Result<String, String> {
let mut git = git(source_dir).capture_stdout();
let mut git = git(source_dir);

let merge_base = get_git_merge_base(config, source_dir).unwrap_or_else(|_| "HEAD".into());

Expand Down

0 comments on commit 29565e2

Please sign in to comment.