mirror of
https://github.com/openai/codex.git
synced 2026-09-15 12:08:01 +00:00
clippy
This commit is contained in:
@@ -728,9 +728,7 @@ impl Session {
|
||||
workspaces: BTreeMap<String, TurnMetadataWorkspace>,
|
||||
}
|
||||
|
||||
if get_git_repo_root(cwd).is_none() {
|
||||
return None;
|
||||
}
|
||||
get_git_repo_root(cwd)?;
|
||||
let git_info = collect_git_info(cwd).await?;
|
||||
let latest_git_commit_hash = git_info.commit_hash;
|
||||
let associated_remote_urls = get_git_remote_urls(cwd).await;
|
||||
|
||||
Reference in New Issue
Block a user