This module provide functions used with PowerShellGet v3 to provide compatibility with scripts expecting PowerShellGet v2
49
stars
13
forks
source link
Help errors with PowerShell 7.4.1: Get-Help: ForwardHelpTargetName cannot refer to the function itself. #62
Open
marcinsmialek opened 5 months ago
Prerequisites
Steps to reproduce
It throws error in PowerShell Core 7.4.1 and in PowerShell Windows 5.1
The same problem exists for the other commands in PowerShellGet module
This is the
ForwardHelpTargetName
-CircularDependencyInHelpForwarding
check:https://github.com/PowerShell/PowerShell/blob/79639822c4302f9d3e46f14db50e246bac7c5e15/src/System.Management.Automation/help/CommandHelpProvider.cs#L450-L454
The latest
Find-Module
help target forwarding:https://github.com/PowerShell/PowerShellGet/blob/fe34ca3eb6e1db2b78d2aae0465cd2165a3d50b6/src/PowerShellGet.psm1#L560-L563
Expected behavior
Actual behavior
Error details
Environment data
Version
3.0.23-beta23
Visuals