Skip to content

Commit

Permalink
Revert "(tests) Ensure ChocolateyInstall env var for tests"
Browse files Browse the repository at this point in the history
This reverts commit 0b918e8.
  • Loading branch information
corbob committed May 29, 2024
1 parent 027001f commit 6a9a57b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/helpers/common-helpers.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ if (-not ("NuGet.Versioning.VersionRange" -as [Type])) {
Add-Type -Path $PSScriptRoot\common\NuGet.Versioning.dll
}

if ([string]::IsNullOrEmpty($env:ChocolateyInstall)) {
$env:ChocolateyInstall = Join-Path $env:ProgramData 'Chocolatey'
Write-Warning "ChocolateyInstall Variable was not set. It has been set to $($env:ChocolateyInstall)."
}

# Common variables setup
$script:snapshots = [System.Collections.Generic.Queue[hashtable]]::new()
$script:snapshotStack = @()
Expand Down

0 comments on commit 6a9a57b

Please sign in to comment.