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