Skip to content

Commit

Permalink
Fix name on install (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasNieto committed Sep 21, 2024
1 parent 4f17a86 commit 3486fd8
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 3486fd8

Please sign in to comment.