Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasNieto committed Feb 7, 2024
1 parent 37fb1b1 commit b23324b
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 @@ -93,7 +93,7 @@ class ModuleFastProvider : PackageProvider, IFindPackage, IInstallPackage {

[string] RemoveSpec([string] $spec) {
$spec = $spec -replace '!', ''

if ($spec.Contains('>=')) {
return $spec.Split('>=')[0]
}
Expand Down

0 comments on commit b23324b

Please sign in to comment.