Skip to content

Commit 0c0c610

Browse files
author
Friedrich Weinmann
committed
fixing string usage
1 parent ec37d48 commit 0c0c610

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MailDaemon/functions/Invoke-MDDaemon.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"$(Get-Date -Format 'yyyy-MM-dd HH:mm:ss.fff') : $_" | Set-PSFFileContent -Path ($item.FullName -replace '.clixml', '.txt') -Append
100100
#region Abandon Email if beyond threshold
101101
if ($item.CreationTime.Add($abandonThreshold) -lt (Get-Date)) {
102-
Write-PSFMessage 'Invoke-MDDaemon.SendMail.Abandon' -StringValues $email.Taskname, $abandonThreshold
102+
Write-PSFMessage -String 'Invoke-MDDaemon.SendMail.Abandon' -StringValues $email.Taskname, $abandonThreshold
103103
$item.LastWriteTime = Get-Date
104104
Move-Item -LiteralPath $item.FullName -Destination $failedPath
105105
Move-Item -LiteralPath ($item.FullName -replace '.clixml', '.txt') -Destination $failedPath

0 commit comments

Comments
 (0)