Skip to content

Commit

Permalink
Fix unused parameter lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasNieto committed Jan 27, 2024
1 parent 0c7c81f commit 5d181a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AnyPackage.ModuleFast.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function Write-Package {

process {
$source = [PackageSourceInfo]::new($Location, $Location, $Request.ProviderInfo)
$package = [PackageInfo]::new($Name, $Version, $source, '', $null, @{ Guid = $Guid }, $Request.ProviderInfo)
$package = [PackageInfo]::new($Name, $ModuleVersion, $source, '', $null, @{ Guid = $Guid }, $Request.ProviderInfo)
$Request.WritePackage($package)
}
}

0 comments on commit 5d181a5

Please sign in to comment.