From b568bb11e70b5935ce3c44f7c324b42275d0ceb7 Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Mon, 30 Sep 2024 22:53:38 +0200 Subject: [PATCH] Change `t to spaces for CMTrace --- Sources/Winget-AutoUpdate/functions/Write-ToLog.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Winget-AutoUpdate/functions/Write-ToLog.ps1 b/Sources/Winget-AutoUpdate/functions/Write-ToLog.ps1 index ef495ff..f84316d 100644 --- a/Sources/Winget-AutoUpdate/functions/Write-ToLog.ps1 +++ b/Sources/Winget-AutoUpdate/functions/Write-ToLog.ps1 @@ -26,7 +26,7 @@ function Write-ToLog { #If header requested if ($IsHeader) { - $Log = "#" * 65 + "`n#`t$(Get-Date -Format (Get-culture).DateTimeFormat.ShortDatePattern) - $LogMsg`n" + "#" * 65 + $Log = "#" * 65 + "`n# $(Get-Date -Format (Get-culture).DateTimeFormat.ShortDatePattern) - $LogMsg`n" + "#" * 65 } else { $Log = "$(Get-Date -UFormat "%T") - $LogMsg"