Show-Command
crashes when clicking "Show Details" on a command
#25556
Labels
7.4-regression
Regression in 7.4
Needs-Triage
The issue is new and needs to be triaged by a work group.
Prerequisites
Steps to reproduce
Repro steps
Show-Command
in PowerShell 7.4Reason
The
GetImportModuleCommand
method was removed in the PR #20593 (see https://github.com/PowerShell/PowerShell/pull/20593/files#diff-6049789826a31f0b0d8365b339ae7b8fdd8c977fec824cb44397f744adeba639L499).However, the
Show-Command
depends on this method to work for the "Show Details" button.Expected behavior
No crash, no freezing. The details of the command will be shown.
Actual behavior
The GUI freezes and a NullReferenceException is thrown from `Show-Command` in PowerShell.
Error details
Environment data
Visuals
No response
The text was updated successfully, but these errors were encountered: