Skip to content

Commit af1bd39

Browse files
authored
Merge pull request microsoft#112 from jwittner/dev/suppressAnalyazerMessage
Suppress inappropraitely applied rule
2 parents c8e1b52 + 68c0ee8 commit af1bd39

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

UnitySetup/UnitySetup.psm1

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -482,10 +482,6 @@ function Install-UnitySetupInstance {
482482
'PassThru' = $true;
483483
'Wait' = $true;
484484
}
485-
486-
if ($Verb) {
487-
$startProcessArgs['Verb'] = $Verb
488-
}
489485

490486
Write-Verbose "$(Get-Date): Installing $installer to $destination."
491487
$process = Start-Process @startProcessArgs
@@ -1001,6 +997,7 @@ function ConvertTo-DateTime {
1001997
function Get-UnityLicense
1002998
{
1003999
[CmdletBinding()]
1000+
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSAvoidUsingConvertToSecureStringWithPlainText", "", Justification="Used to convert discovered plaintext serials into secure strings.")]
10041001
param([SecureString]$Serial)
10051002

10061003
$licenseFiles = Get-ChildItem "C:\ProgramData\Unity\Unity_*.ulf" -ErrorAction 'SilentlyContinue'

0 commit comments

Comments
 (0)