09-Setup-WaxAndTrace: fix stale $backupDir in no-backup log message

The variable was renamed to $backupDirCandidates + $bd loop but the
else-branch log message still referenced the old $backupDir, producing
a malformed path like "\.zip" in the log.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
cproudlock
2026-05-27 13:05:14 -04:00
parent 485fe1c7c4
commit 9ad467ba6c

View File

@@ -390,7 +390,7 @@ if ($backupZip) {
Write-WTLog "Install-FormtracepakSettings.ps1 not found at $installPs1 - skipping restore" 'WARN' Write-WTLog "Install-FormtracepakSettings.ps1 not found at $installPs1 - skipping restore" 'WARN'
} }
} else { } else {
Write-WTLog "No per-asset backup ZIP at $backupDir\$bayAsset.zip - skipping restore (clean vendor install only)" Write-WTLog "No per-asset backup ZIP for $bayAsset in $($backupDirCandidates -join ', ') - skipping restore (clean vendor install only)"
} }
# ============================================================================ # ============================================================================