Skip to content

Commit

Permalink
Suppress PSReviewUnusedParameter false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Rowlandson committed Sep 3, 2020
1 parent 22065c5 commit d7a9e02
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions functions/New-AzStateDiscovery.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
#################################

function Get-AzStateChildrenByType {
###############################################
# Configure PSScriptAnalyzer rule suppression #
###############################################

# The following SuppressMessageAttribute entries are used to surpress
# PSScriptAnalyzer tests against known exceptions as per:
# https://github.com/powershell/psscriptanalyzer#suppressing-rules
[Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSReviewUnusedParameter', 'ExcludePathIds', Justification = 'False positive: used in process block of function')]

[CmdletBinding()]
[OutputType([AzState[]])]
Expand Down

0 comments on commit d7a9e02

Please sign in to comment.