From a7284bb5261abc344e113dcb19711821d1b8b99e Mon Sep 17 00:00:00 2001 From: Benedek Farkas Date: Wed, 18 Jan 2023 16:59:38 +0100 Subject: [PATCH] "SuppressMessage" instead of "SuppressMessageAttribute" --- Lombiq.Analyzers.PowerShell/Invoke-Analyzer.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lombiq.Analyzers.PowerShell/Invoke-Analyzer.ps1 b/Lombiq.Analyzers.PowerShell/Invoke-Analyzer.ps1 index 461373e9..91b65bda 100644 --- a/Lombiq.Analyzers.PowerShell/Invoke-Analyzer.ps1 +++ b/Lombiq.Analyzers.PowerShell/Invoke-Analyzer.ps1 @@ -1,12 +1,12 @@ -[Diagnostics.CodeAnalysis.SuppressMessageAttribute( +[Diagnostics.CodeAnalysis.SuppressMessage( 'PSReviewUnusedParameter', 'ForGitHubActions', Justification = 'False positive due to https://github.com/PowerShell/PSScriptAnalyzer/issues/1472.')] -[Diagnostics.CodeAnalysis.SuppressMessageAttribute( +[Diagnostics.CodeAnalysis.SuppressMessage( 'PSReviewUnusedParameter', 'ForMsBuild', Justification = 'False positive due to https://github.com/PowerShell/PSScriptAnalyzer/issues/1472.')] -[Diagnostics.CodeAnalysis.SuppressMessageAttribute( +[Diagnostics.CodeAnalysis.SuppressMessage( 'PSReviewUnusedParameter', 'IncludeTestSolutions', Justification = 'False positive due to https://github.com/PowerShell/PSScriptAnalyzer/issues/1472.')]