Summary of the new feature / enhancement
As someone who was working on powershell PRs for npm (I don't represent them),
I found out that $MyInvocation.Statement (and the Internal equivalent in Windows PowerShell) in pwsh doesn't strip out the redirect operators
So like the following
doesn't turn into
currently, would be nice if there existed a variable that gave the stripped output
Proposed technical implementation details (optional)
No response
Summary of the new feature / enhancement
As someone who was working on powershell PRs for npm (I don't represent them),
I found out that $MyInvocation.Statement (and the Internal equivalent in Windows PowerShell) in pwsh doesn't strip out the redirect operators
So like the following
doesn't turn into
currently, would be nice if there existed a variable that gave the stripped output
Proposed technical implementation details (optional)
No response