Skip to content

Commit 64bbabb

Browse files
Update src/utils/vcs.rs
Co-authored-by: Daniel Szoke <[email protected]>
1 parent 850695b commit 64bbabb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/vcs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ pub fn find_base_sha(remote_name: &str) -> Result<Option<String>> {
579579
return Ok(Some(pr_base_sha));
580580
}
581581

582-
let repo = git2::Repository::open_from_env()?;
582+
let repo = git2::Repository::open_from_env().context("Could not open repository")?;
583583

584584
let head_commit = repo.head()?.peel_to_commit()?;
585585

0 commit comments

Comments
 (0)