From 93c33943a7d5f12bf8a05d8843b688fff11545d9 Mon Sep 17 00:00:00 2001 From: Andrei Lebedev Date: Sat, 5 May 2018 16:14:44 +0300 Subject: [PATCH] (GH-1546) Fix undefined zipFileContentPath var --- .../helpers/functions/UnInstall-ChocolateyZipPackage.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chocolatey.resources/helpers/functions/UnInstall-ChocolateyZipPackage.ps1 b/src/chocolatey.resources/helpers/functions/UnInstall-ChocolateyZipPackage.ps1 index 33c7bb3812..dd4481a90b 100644 --- a/src/chocolatey.resources/helpers/functions/UnInstall-ChocolateyZipPackage.ps1 +++ b/src/chocolatey.resources/helpers/functions/UnInstall-ChocolateyZipPackage.ps1 @@ -68,7 +68,7 @@ param( # The Zip Content File may have previously existed under a different # name. If *Install.txt doesn't exist, check for the old name - if(-Not (Test-Path -Path $zipFileContentPath)) { + if(-Not (Test-Path -Path $zipContentFile)) { $zipContentFile=(Join-Path $packagelibPath -ChildPath $zipFileName) + ".txt" }