pcgeek86 / PSGitHub

This PowerShell module contains commands to manage GitHub through its REST API.
MIT License
182 stars 39 forks source link

fix possible bug with verbose output #34

Closed DoctorVanGogh closed 6 years ago

DoctorVanGogh commented 6 years ago

Hey @pcgeek86 I think I found (and fixed) a minor issue with Invoke-GithubApi (if using -Verbose):

Invoke-GitHubApi : A parameter cannot be found that matches parameter name 'f'.
At [...]\PSGithub\Functions\Public\New-GitHubRelease.ps1:128 char:9
+         Invoke-GitHubApi @apiCall
+         ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-GitHubApi], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,Invoke-GitHubApi
pcgeek86 commented 6 years ago

Thank you!