Closed Glober777 closed 5 years ago
Turns out that the prompt is coming from the Test-Path $_
part which turns into Test-Path
after it goes through: https://github.com/ticketmaster/poshspec/blob/bcb172001fe5b649c2d6c170ee9fb32a3c4ca7dd/Private/Get-PoshspecParam.ps1#L94
Apparently, ExpandString method swallows the automatic variable.
Fixes ticketmaster#55