Skip to content

Commit c5c5ee4

Browse files
committed
Fix for PSGallery when testing module installed
1 parent 1ac9391 commit c5c5ee4

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/Classes/Providers/ParcelProvider.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ class ParcelProvider
165165

166166
[bool] TestPackageUninstalled([ParcelPackage]$_package)
167167
{
168-
return (!$this.TestInstalled())
168+
return (!$this.TestPackageInstalled($_package))
169169
}
170170

171171
[bool] TestExitCode([int]$_code, [string]$_output, [string]$_action)

src/Public/Tools.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ function Uninstall-ParcelPackages
5959
$WhatIf
6060
)
6161

62-
$VerbosePreference | Out-Default
6362
if (!(Test-ParcelAdminUser)) {
6463
throw 'Parcel needs to be run as an Administrator'
6564
}

0 commit comments

Comments
 (0)