Skip to content

Commit 6ead389

Browse files
authored
Merge pull request #78 from jwittner/fix/lintFailure
Disable requirement for ShouldProcess support on New-UnitySetupComponent.
2 parents e14aee7 + e9b1626 commit 6ead389

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ class UnityVersion : System.IComparable {
162162
#>
163163
function New-UnitySetupComponent {
164164
[CmdletBinding()]
165+
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseShouldProcessForStateChangingFunctions', '', Scope = 'Function')]
165166
param(
166167
[parameter(Mandatory = $true)]
167168
[UnitySetupComponent] $Components

0 commit comments

Comments
 (0)