Skip to content

Commit

Permalink
Fix name on install
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasNieto committed Sep 21, 2024
1 parent 4f17a86 commit 4b8c3dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AnyPackage.Pkgx.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class PkgxProvider : PackageProvider, IFindPackage, IGetPackage, IInstallPackage

foreach ($line in $output) {
if ($line -match '^pkgx: installed:') {
$package = [PackageInfo]::new($name, $version, $request.ProviderInfo)
$package = [PackageInfo]::new($request.Name, $version, $request.ProviderInfo)
$request.WritePackage($package)
break
}
Expand Down

0 comments on commit 4b8c3dd

Please sign in to comment.