PSEverything icon indicating copy to clipboard operation
PSEverything copied to clipboard

Typo CaseSenitive in SelectEverythingStringCommand.cs

Open nightroman opened this issue 3 years ago • 2 comments

On browsing the code of SelectEverythingStringCommand.cs I've noticed a typo CaseSenitive (should be CaseSensitive?)

https://github.com/powercode/PSEverything/blob/8babf2cb468a3e469eb6a3b3a1fe0892b0376fee/PSEverything/SelectEverythingStringCommand.cs#L127

nightroman avatar Jun 06 '22 12:06 nightroman

As a result, the command like Select-EverythingString Search-Everything -CaseSensitiveSearch fails with

Select-EverythingString : A parameter cannot be found that matches parameter name 'CaseSenitive'.
At line:1 char:1
+ Select-EverythingString Search-Everything -CaseSensitiveSearch
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Select-EverythingString], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,PSEverything.SelectEverythingStringCommand

Is a PR welcome? I'd take care if the module is updated reasonably fast after accepting PRs with fixes. :)

nightroman avatar Jun 06 '22 19:06 nightroman

NB In the PR I'd also tweak these:

  • seemingly unused file/class https://github.com/powercode/PSEverything/blob/master/PSEverythingStandard/Class1.cs
  • the PowerShellStandard.Library package may be updated from preview to release

nightroman avatar Jun 06 '22 19:06 nightroman