mirror of
https://github.com/openai/codex.git
synced 2026-09-09 15:58:47 +00:00
Fix marketplace git clone lint
This commit is contained in:
@@ -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))?;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user