Merge branch 'main' into codex/refactor-update.ps1-and-api-endpoints

This commit is contained in:
2025-10-08 17:59:48 -06:00
committed by GitHub

View File

@@ -150,7 +150,7 @@ function Get-RepositoryCommitHash {
if ($AgentRoot -and ($candidates -notcontains $AgentRoot)) { $candidates += $AgentRoot }
if ($ProjectRoot) {
$agentRootCandidate = Join-Path $ProjectRoot 'Agent\Borealis'
if ((Test-Path $agentRootCandidate -PathType Container) -and ($candidates -notcontains $agentRootCandidate)) {
if (Test-Path $agentRootCandidate -PathType Container -and ($candidates -notcontains $agentRootCandidate)) {
$candidates += $agentRootCandidate
}
}