pcgeek86 / PSGitHub

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

Unable to find type [Microsoft.PowerShell.Commands.HttpResponseException]. #53

Closed ghost closed 4 years ago

ghost commented 4 years ago

Before submitting your issue for the PSGitHub project, please take a moment to provide the following details:

I am recieveing the following exception just after installing the module: Unable to find type [Microsoft.PowerShell.Commands.HttpResponseException].

Something to do with line 95 Invoke-GitHubApi.ps1.

felixfbecker commented 4 years ago

I guess that exception type only exists in PowerShell 6+ and the exception type needs to be removed