fix(notstrap): fix clippy warning and unwrap panics in lib extraction

This commit is contained in:
Joseph O'Brien
2026-04-01 05:00:26 -04:00
parent 1545a913c5
commit 748a0d8634
3 changed files with 14 additions and 8 deletions

View File

@@ -7,7 +7,9 @@ pub fn clone_if_missing(url: &str, dest: &Path) -> Result<bool> {
return Ok(false);
}
let status = Command::new("git")
.args(["clone", url, dest.to_str().unwrap()])
.arg("clone")
.arg(url)
.arg(dest)
.status()
.context("failed to run git clone")?;
if !status.success() {