fix: handle clean git status in TOOL-003 freeze capture

This commit is contained in:
2026-08-16 17:02:57 -04:00
parent ef36dae644
commit de10754129

View File

@@ -196,7 +196,7 @@ function Get-GitSha {
function Get-GitPorcelain {
$status = (& git -C $script:RepoRoot status --porcelain 2>$null)
if ($LASTEXITCODE -ne 0) { throw 'git status --porcelain failed' }
return @($status)
return ,@($status)
}
function Write-DeployedSourceHashes {