- Notifications
You must be signed in to change notification settings - Fork407
UseCorrectCasing: Fix wildcard lookups for command lookup and do not append .exe for applications on Windows#1210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
… correct application names to end in .exe on Windows
mkht commentedApr 7, 2019 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@bergmeister Thanks for fixing issue. In very rare cases, I think the following codes may still produce unexpected results. >Invoke-Formatter'?et-Content $file'Get-Content$file>Invoke-Formatter'Get-* $file'Get-AppPackage$file How about we consider using |
bergmeister commentedApr 7, 2019
@mkht Thanks for the useful suggestion, I did not know that such an API existed, I applied it |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
…e isWindows variable better
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-Authored-By: bergmeister <c.bergmeister@gmail.com>
Uh oh!
There was an error while loading.Please reload this page.
PR Summary
UseCorrectCasing: Fix command lookups using wildcards, e.g. ? would've wrongly returned ForEach-Object and do not append .exe to binaries on Windows
PR Checklist
.cs,.ps1and.psm1files have the correct copyright headerWIP:to the beginning of the title and remove the prefix when the PR is ready.