style(Attachment): fix typo in debug messages

This commit is contained in:
Rodweil, Theodor 2023-08-15 19:19:59 +02:00
parent 71d7c99771
commit 3bfb237edf
No known key found for this signature in database
GPG key ID: F8BC1B0EB1F9CCF5

View file

@ -71,7 +71,7 @@ function New-Attachment
If (-Not $containerPageMeta) If (-Not $containerPageMeta)
{ {
throw ( throw (
"Get-AttachmentMeta: ``$($attachmentMeta.Name)``: " + "New-Attachment: ``$($attachmentMeta.Name)``: " +
"unable to lookup metadata for container page " + "unable to lookup metadata for container page " +
"title ``$($attachmentMeta.ContainerPageTitle)``." + "title ``$($attachmentMeta.ContainerPageTitle)``." +
"This is fatal." "This is fatal."
@ -81,7 +81,7 @@ function New-Attachment
If (-Not $containerPageMeta.Id) If (-Not $containerPageMeta.Id)
{ {
$errMsg = ( $errMsg = (
"Get-AttachmentMeta: ``$($attachmentMeta.Name)``: " + "New-Attachment: ``$($attachmentMeta.Name)``: " +
"container page titled" + "container page titled" +
"``$($attachmentMeta.ContainerPageTitle)`` " + "``$($attachmentMeta.ContainerPageTitle)`` " +
"has no id, which means that the page has " + "has no id, which means that the page has " +
@ -320,7 +320,7 @@ function Update-Attachment
If (-Not $containerPageMeta) If (-Not $containerPageMeta)
{ {
throw ( throw (
"Get-AttachmentMeta: ``$($attachmentMeta.Name)``: " + "Update-Attachment: ``$($attachmentMeta.Name)``: " +
"unable to lookup metadata for container page " + "unable to lookup metadata for container page " +
"title ``$($attachmentMeta.ContainerPageTitle)``." + "title ``$($attachmentMeta.ContainerPageTitle)``." +
"This is fatal." "This is fatal."
@ -330,7 +330,7 @@ function Update-Attachment
ElseIf (-Not $containerPageMeta.Id) ElseIf (-Not $containerPageMeta.Id)
{ {
$errMsg = ( $errMsg = (
"Get-AttachmentMeta: ``$($attachmentMeta.Name)``: " + "Update-Attachment: ``$($attachmentMeta.Name)``: " +
"container page titled" + "container page titled" +
"``$($attachmentMeta.ContainerPageTitle)`` " + "``$($attachmentMeta.ContainerPageTitle)`` " +
"has no id, which means that the page has " + "has no id, which means that the page has " +