Skip to content

Commit e9b1626

Browse files
committed
Disable warning for this method
1 parent df0b7a6 commit e9b1626

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
@@ -170,6 +170,7 @@ class UnityVersion : System.IComparable
170170
function New-UnitySetupComponent
171171
{
172172
[CmdletBinding()]
173+
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseShouldProcessForStateChangingFunctions', '', Scope = 'Function')]
173174
param(
174175
[parameter(Mandatory=$true)]
175176
[UnitySetupComponent] $Components

0 commit comments

Comments
 (0)