Skip to content

Commit b7baa6b

Browse files
committed
Disable write-host warning
1 parent 8e143f7 commit b7baa6b

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
@@ -228,6 +228,7 @@ function Find-UnitySetupInstaller
228228
function Install-UnitySetupInstance
229229
{
230230
[CmdletBinding()]
231+
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingWriteHost', '', Scope='Function')]
231232
param(
232233
[parameter(ValueFromPipeline=$true)]
233234
[UnitySetupInstaller[]] $Installers,

0 commit comments

Comments
 (0)