removed unncessary assignment

pull/580/head
Nick Brown 2024-03-13 13:48:12 +00:00 committed by GitHub
parent e265146a0b
commit 85f5c2aab4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 2 deletions

View File

@ -245,7 +245,6 @@ if (Test-Network) {
New-Item "$WorkingDir\logs\error.txt" -Value "Whitelist doesn't exist in GPO" -Force New-Item "$WorkingDir\logs\error.txt" -Value "Whitelist doesn't exist in GPO" -Force
Exit 1 Exit 1
} }
$toUpdate = $toUpdate
foreach ($app in $toUpdate) { Write-ToLog "Include app ${app}" } foreach ($app in $toUpdate) { Write-ToLog "Include app ${app}" }
} }
else { else {
@ -255,7 +254,6 @@ if (Test-Network) {
New-Item "$WorkingDir\logs\error.txt" -Value "Blacklist doesn't exist in GPO" -Force New-Item "$WorkingDir\logs\error.txt" -Value "Blacklist doesn't exist in GPO" -Force
Exit 1 Exit 1
} }
$toSkip = $toSkip
foreach ($app in $toSkip) { Write-ToLog "Exclude app ${app}" } foreach ($app in $toSkip) { Write-ToLog "Exclude app ${app}" }
} }
} }