Repository navigation
Get-GitHubTeam -TeamName NonExistentTeam -ErrorAction SilentlyContinue returns empty set - #410
Peter Vandivier (petervandivier) wants to merge 1 commit into
Conversation
|
Thanks for the contribution Peter Vandivier (@petervandivier).
There are a number of places where this could additionally have issues (like for example in the very next method: PowerShellForGitHub/GitHubTeams.ps1 Lines 295 to 300 in 2233b86 I don't want to fix these all one-off. I'd like to address all of these in a single changelist so that we can ensure that we're approaching that issue in a consistent manner across the entire module. And I wouldn't want to do that until I had a better understanding of why If you have more context as to why PowerShell is allowing |
|
I've updated the original issue with more details on the problem and suggested approaches that can be taken to move forward. |
Description
Get-GitHubTeam -TeamName NonExistentTeam -ErrorAction SilentlyContinuereturns empty set instead of teams you didn't nameIssues Fixed
References
N/A
Checklist
-TeamNameparam remains the same-ea 0invocation-ea 0with non-existent team now returns empty set ✨