You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set-GitHubRepositoryTopic: Fix Exception When Clear 'Parameter' is Specified (#216)
This fixes the exception in the `Set-GithubRepositoryTopic` function when the `Clear` parameter is specified.
#### References
https://developer.github.com/v3/repos/#replace-all-repository-topics - Send an empty array ([]) to clear all topics from the repository.
The problem with the existing implementation was that it was creating an array of 1 element, where the element was `$null`.
Fixes#215
0 commit comments