Skip to content

Commit d0aa363

Browse files
Fontabergmeister
authored andcommitted
Make the correct example use the declared variable (#1111)
* Make the correct example use the declared variable * Use $date * fix whitespace
1 parent fc7b083 commit d0aa363

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RuleDocumentation/UseCmdletCorrectly.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Function Set-TodaysDate ()
2828
Function Set-TodaysDate ()
2929
{
3030
$date = Get-Date
31-
Set-Date -Date $t
31+
Set-Date -Date $date
3232
...
3333
}
3434
```

0 commit comments

Comments
 (0)