Fix marketplace git clone lint

This commit is contained in:
xli-oai
2026-04-15 20:02:50 -07:00
parent 7f5a11a703
commit c67b56cfc4

View File

@@ -879,7 +879,10 @@ fn clone_git_plugin_source(
sha: Option<&str>,
destination: &Path,
) -> Result<(), String> {
run_git(&["clone", url, destination.to_string_lossy().as_ref()], None)?;
run_git(
&["clone", url, destination.to_string_lossy().as_ref()],
/*cwd*/ None,
)?;
if let Some(target) = sha.or(ref_name) {
run_git(&["checkout", target], Some(destination))?;
}