microsoft / PowerShellForGitHub

Microsoft PowerShell wrapper for GitHub API
Other
588 stars 186 forks source link

Get-GitHubIssue commands different output #411

Open Liturgist opened 1 year ago

Liturgist commented 1 year ago

Issue Details

PS C:\src\wXXXXXXXXW> Get-GitHubIssue -OwnerName oXXXXXXXe -RepositoryName wXXXXXXXXW  -Issue 314 | Select-Object -Property body

body
----
```…

This command returns different ouput. The REVERSE SOLIDUS ('\') before the triple quotes was required for formatting, but is not present in the output.

PS C:\src\wXXXXXXXXW> (Get-GitHubIssue -OwnerName oXXXXXXXe -RepositoryName wXXXXXXXXW  -Issue 314).body

\```

Test-ModuleManifest: The specified NestedModule entry 'Compare-Gxxxxxxxxxxxs.psm1' in the module manifest

'C:\Dev\powershell\Wxxxxs\Wxxxxs.psd1' is invalid. Try again after updating this entry with valid values.

Test-ModuleManifest: The specified NestedModule entry 'Get-Exxxxxxxxg.psm1' in the module manifest

'C:\Dev\powershell\Wxxxxs\Wxxxxs.psd1' is invalid. Try again after updating this entry with valid values.
\```

PS C:\src\wXXXXXXXXW>

Steps to reproduce the issue

Verbose logs showing the problem

Suggested solution to the issue

Requested Assignment

Operating System

OsName               : Microsoft Windows 10 Pro
OsOperatingSystemSKU : EnterpriseEdition
OsArchitecture       : 64-bit
WindowsVersion       : 2009
WindowsBuildLabEx    : 19041.1.amd64fre.vb_release.191206-1406
OsLanguage           : en-US
OsMuiLanguages       : {en-US}

PowerShell Version

PS C:\src> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.6
PSEdition                      Core
GitCommitId                    7.3.6
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module Version

PS C:\src> @(
>>             "Running: $((Get-Module -Name PowerShellForGitHub) | Select-Object -ExpandProperty Version)",
>>             "Installed: $((Get-Module -Name PowerShellForGitHub -ListAvailable) | Select-Object -ExpandProperty Version)"
>>         ) -join [Environment]::NewLine
Running:
Installed: 0.16.1