pcgeek86 / PSGitHub

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

Type used only exist in PowerShell Core #55

Closed johlju closed 4 years ago

johlju commented 4 years ago

The type [Microsoft.PowerShell.Commands.HttpResponseException] does not exist in Windows PowerShell. See https://docs.microsoft.com/en-us/dotnet/api/microsoft.powershell.commands.httpresponseexception?view=pscore-6.2.0

https://github.com/pcgeek86/PSGitHub/blob/f800ce0ae31ff7c5f36d6548a8515755a52fd9b6/Functions/Private/Invoke-GitHubApi.ps1#L95

johlju commented 4 years ago

Either move the module over to PowerShell Core only, or change to another type. 🤔

felixfbecker commented 4 years ago

Duplicate of #53