From 42b4447d60c4f8a935f4fce858bb7ac6731c55ab Mon Sep 17 00:00:00 2001 From: Daniel Brandenburg <59375397+daniel-brandenburg@users.noreply.github.com> Date: Fri, 24 Jan 2025 16:33:29 +0100 Subject: [PATCH 1/2] Update everything-about-null.md Add space at end of line --- .../docs-conceptual/learn/deep-dives/everything-about-null.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/docs-conceptual/learn/deep-dives/everything-about-null.md b/reference/docs-conceptual/learn/deep-dives/everything-about-null.md index f41954f890da..fe7792ba61f4 100644 --- a/reference/docs-conceptual/learn/deep-dives/everything-about-null.md +++ b/reference/docs-conceptual/learn/deep-dives/everything-about-null.md @@ -62,7 +62,7 @@ If you use `$null` in a string, then it's a blank value (or empty string). ```powershell PS> $value = $null PS> Write-Output "The value is $value" -The value is +The value is ``` This is one of the reasons that I like to place brackets around variables when using them in log From 6f7145ac77e8ece5a5d0562786bb3922ed0ba2b6 Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Fri, 24 Jan 2025 09:44:49 -0600 Subject: [PATCH 2/2] Clarify null value output in PowerShell Wrapped output in single quotes because we don't allow trailing spaces in our documents. --- .../docs-conceptual/learn/deep-dives/everything-about-null.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reference/docs-conceptual/learn/deep-dives/everything-about-null.md b/reference/docs-conceptual/learn/deep-dives/everything-about-null.md index fe7792ba61f4..de0611dcb9ab 100644 --- a/reference/docs-conceptual/learn/deep-dives/everything-about-null.md +++ b/reference/docs-conceptual/learn/deep-dives/everything-about-null.md @@ -61,8 +61,8 @@ If you use `$null` in a string, then it's a blank value (or empty string). ```powershell PS> $value = $null -PS> Write-Output "The value is $value" -The value is +PS> Write-Output "'The value is $value'" +'The value is ' ``` This is one of the reasons that I like to place brackets around variables when using them in log