Skip to content

Commit 3f08895

Browse files
sethvsJamesWTruher
authored andcommitted
Fix Example 7 in Invoke-ScriptAnalyzer.md. (#862)
1 parent 1cda9d3 commit 3f08895

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/markdown/Invoke-ScriptAnalyzer.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ This example runs only the rules that are Error severity and have the PSDSC sour
113113
function Get-Widgets
114114
{
115115
[CmdletBinding()]
116-
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseSingularNouns")]
117-
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingCmdletAliases", Justification="Resolution in progress.")]
116+
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseSingularNouns", "")]
117+
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingCmdletAliases", "", Justification="Resolution in progress.")]
118118
Param()
119119
120120
dir $pshome

0 commit comments

Comments
 (0)