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