diff --git a/foam_sync.ps1 b/foam_sync.ps1 index 40806db..3388b15 100644 --- a/foam_sync.ps1 +++ b/foam_sync.ps1 @@ -80,7 +80,7 @@ try { } else { Write-Host "Scheduled task '$taskName' configuration differs." - Write-Host "`$triggerMatches: $triggerMatches, $actionMatches: $actionMatches, $principalMatches: $principalMatches, $settingsMatch: $settingsMatch`" + Write-Host "`$triggerMatches: $triggerMatches, `$actionMatches: $actionMatches, `$principalMatches: $principalMatches, `$settingsMatch: $settingsMatch" Write-Host "Attempting to update in-place..." try { Set-ScheduledTask -TaskName $taskName -Action $action -Trigger $trigger -Settings $settings -Principal $taskPrincipal -ErrorAction Stop