mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Correct parameter reference passed to exception (#15580)
This commit is contained in:
@@ -89,7 +89,7 @@ namespace System.Management.Automation
|
||||
{
|
||||
if (command == null)
|
||||
{
|
||||
throw PSTraceSource.NewArgumentNullException("cmdlet");
|
||||
throw PSTraceSource.NewArgumentNullException(nameof(command));
|
||||
}
|
||||
|
||||
if (_owner != null)
|
||||
|
||||
Reference in New Issue
Block a user