Skip to content

Commit

Permalink
Fix for PSGallery when testing module installed
Browse files Browse the repository at this point in the history
  • Loading branch information
Badgerati committed Oct 4, 2019
1 parent 1ac9391 commit c5c5ee4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/Classes/Providers/ParcelProvider.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class ParcelProvider

[bool] TestPackageUninstalled([ParcelPackage]$_package)
{
return (!$this.TestInstalled())
return (!$this.TestPackageInstalled($_package))
}

[bool] TestExitCode([int]$_code, [string]$_output, [string]$_action)
Expand Down
1 change: 0 additions & 1 deletion src/Public/Tools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ function Uninstall-ParcelPackages
$WhatIf
)

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

0 comments on commit c5c5ee4

Please sign in to comment.