fix: resolve PSScriptAnalyzer ParseError and StrictMode Count issue

This commit is contained in:
Simone
2026-05-10 22:50:12 +02:00
parent 6b2a23b8f9
commit a3a24199b3
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ function Remove-OldJobDirs {
Where-Object { $_.LastWriteTime -lt $cutoff }
if (-not @($old).Count) {
Write-Host "[RetentionPolicy] $Label: nothing to purge (cutoff: $($cutoff.ToString('yyyy-MM-dd')))."
Write-Host "[RetentionPolicy] ${Label}: nothing to purge (cutoff: $($cutoff.ToString('yyyy-MM-dd')))."
return
}