Skip to content

Commit

Permalink
Merge branch 'hotfix/0.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
gep13 committed Jun 1, 2020
2 parents aa2d82f + ada1170 commit 0fe1248
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Tasks/chocolatey/chocolatey.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ try {
$chocolateyVersion = & $chocoExe --version
Write-Output "Running Chocolatey Version: $chocolateyVersion"

#Array list is deprecated, switch to a Generic and avoid the costly New-Object call
$chocolateyArguments = [System.Collections.Generic.List]::New()
$chocolateyArguments = New-Object System.Collections.ArrayList

[bool]$debug = Get-VstsInput -Name 'debug' -AsBool -Default $false
[bool]$verbose = Get-VstsInput -Name 'verbose' -AsBool -Default $false
Expand Down

0 comments on commit 0fe1248

Please sign in to comment.