From 574972be216e96c98543f03a6db7ad21fab42001 Mon Sep 17 00:00:00 2001 From: sethvs Date: Fri, 2 Feb 2018 17:31:54 +0300 Subject: [PATCH] Fix Example 7 in Invoke-ScriptAnalyzer.md. --- docs/markdown/Invoke-ScriptAnalyzer.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/markdown/Invoke-ScriptAnalyzer.md b/docs/markdown/Invoke-ScriptAnalyzer.md index a83634afd..c742babe8 100644 --- a/docs/markdown/Invoke-ScriptAnalyzer.md +++ b/docs/markdown/Invoke-ScriptAnalyzer.md @@ -113,8 +113,8 @@ This example runs only the rules that are Error severity and have the PSDSC sour function Get-Widgets { [CmdletBinding()] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseSingularNouns")] - [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingCmdletAliases", Justification="Resolution in progress.")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSUseSingularNouns", "")] + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingCmdletAliases", "", Justification="Resolution in progress.")] Param() dir $pshome