fix(deploy): escape TaskName in log string (PowerShell parser); 2.0.25-SAC

${TaskName}: after colon was parsed as drive scope — deploy failed at parse time.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-08 11:51:06 +10:00
parent 1d30ca2284
commit 01d7525c4a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -961,7 +961,7 @@ function Write-RdpMonitorDeployScheduledTaskVerification {
Write-DeployLog "ПРЕДУПРЕЖДЕНИЕ: $TaskName ExecutionTimeLimit=$label — ожидался PT0S (без лимита). Проверьте InstallTasks и права администратора."
return $false
}
Write-DeployLog "Задача $TaskName: ExecutionTimeLimit=PT0S (без лимита) — OK."
Write-DeployLog "Задача ${TaskName}: ExecutionTimeLimit=PT0S (без лимита) — OK."
return $true
}