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:
@@ -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)"
|
||||||
}
|
}
|
||||||
|
|
||||||
# ============================================================================
|
# ============================================================================
|
||||||
|
|||||||
Reference in New Issue
Block a user