-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Make command searcher not use wildcard search for execution #9202
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
adityapatwardhan
merged 44 commits into
PowerShell:master
from
TravisEz13:fix_command_searcher
Apr 2, 2019
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
6060fd0
Add ability for searcher to search for commands using either wildcard…
TravisEz13 2343357
make get-command tell command searcher to use wildcards when searchin…
TravisEz13 5e0523f
Add tests for the various cases
TravisEz13 9b8f2f8
Address Paul's comments
TravisEz13 38f0111
make test names static
TravisEz13 f143e17
Address Paul's comments (some offline)
TravisEz13 ffc4ce1
start using `HasFlag`
TravisEz13 539a0d0
start using `HasFlag` in second location
TravisEz13 f79768b
Fix CodeFactor issues
TravisEz13 cdbf1e9
Fix check in fullPath codePath
TravisEz13 4688ae8
Don't recreate resolvedPaths
TravisEz13 bc83308
Add -wait to start-pspester
TravisEz13 74ee28b
make changes that committee asked for
TravisEz13 e153182
fix CodeFactor issues
TravisEz13 3b004d1
Add comments to new functions
TravisEz13 8ac7068
fix function summaries
TravisEz13 eebc092
fix syntax issue
TravisEz13 7f14662
Address PR feedback
TravisEz13 4569916
Address PR feedback
TravisEz13 9e7edcf
prevent null ref exception
TravisEz13 eaa81a6
must return directories too
TravisEz13 5071a54
Update src/System.Management.Automation/engine/CommandSearcher.cs
TravisEz13 6618eb3
Apply suggestions from code review
TravisEz13 d9615c5
remove unneeded condition
TravisEz13 2e43c54
Fix CodeFactor issue
TravisEz13 3a4e6f3
Apply suggestions from code review
TravisEz13 925bc41
used named parameters
TravisEz13 30134f4
Update instance where filesystem provider name is not compared using …
TravisEz13 93a4ee9
update parameter spacing
TravisEz13 ddf6c6f
don't get commandinfo if path is null
TravisEz13 5ddcb4f
fix tests to cover additional cases
TravisEz13 2d0a2f1
fix codefactor issues
TravisEz13 866aaf6
fix expected result
TravisEz13 9670f88
Add additional negative cases
TravisEz13 32ee808
add missing param block
TravisEz13 c086e74
expected results aren't as negative as I thought
TravisEz13 a49ad49
Add additional subFolder execution cases
TravisEz13 a59bc79
make returns consistent
TravisEz13 b18aacc
make some pending tests negative tests
TravisEz13 85a8c85
delete pending tests which were made negative tests
TravisEz13 0e4c566
fix PR feedback
TravisEz13 66fc031
Update test/powershell/engine/Basic/CommandDiscovery.Tests.ps1
TravisEz13 5d7bc15
Update test/powershell/engine/Basic/CommandDiscovery.Tests.ps1
TravisEz13 c965097
Update test/powershell/engine/Basic/CommandDiscovery.Tests.ps1
TravisEz13 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.