Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set-GitHubRepositoryTopic: Fix Exception When Clear 'Parameter' is Sp…
…ecified (#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
- Loading branch information