Skip to content

Return error message if specified adapter doesn't exist#506

Merged
SteveL-MSFT merged 1 commit intoPowerShell:mainfrom
SteveL-MSFT:invalid-adapter
Jul 30, 2024
Merged

Return error message if specified adapter doesn't exist#506
SteveL-MSFT merged 1 commit intoPowerShell:mainfrom
SteveL-MSFT:invalid-adapter

Conversation

@SteveL-MSFT
Copy link
Member

PR Summary

With this change, if the specified adapter (or wildcard) returns no results, an error message is displayed, however a zero exit code is still returned.

PR Context

Fix #477

@SteveL-MSFT SteveL-MSFT requested review from anmenaga and tgauth July 30, 2024 01:12
@SteveL-MSFT SteveL-MSFT added this pull request to the merge queue Jul 30, 2024
Merged via the queue into PowerShell:main with commit 4a5aa3a Jul 30, 2024
@SteveL-MSFT SteveL-MSFT deleted the invalid-adapter branch July 30, 2024 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No error when invalid adapter name is provided

2 participants