Skip to content

Commit 6f7145a

Browse files
authored
Clarify null value output in PowerShell
Wrapped output in single quotes because we don't allow trailing spaces in our documents.
1 parent 42b4447 commit 6f7145a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/docs-conceptual/learn/deep-dives/everything-about-null.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ If you use `$null` in a string, then it's a blank value (or empty string).
6161

6262
```powershell
6363
PS> $value = $null
64-
PS> Write-Output "The value is $value"
65-
The value is
64+
PS> Write-Output "'The value is $value'"
65+
'The value is '
6666
```
6767

6868
This is one of the reasons that I like to place brackets around variables when using them in log

0 commit comments

Comments
 (0)