We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38c1450 commit ace2a4aCopy full SHA for ace2a4a
src/PowerShellEditorServices.Protocol/Server/LanguageServer.cs
@@ -419,7 +419,7 @@ function __Expand-Alias {
419
[ref]$errors=$null
420
421
$tokens = [System.Management.Automation.PsParser]::Tokenize($targetScript, $errors).Where({$_.type -eq 'command'}) |
422
- Sort Start -Descending
+ Sort-Object Start -Descending
423
424
foreach ($token in $tokens) {
425
$definition=(Get-Command ('`'+$token.Content) -CommandType Alias -ErrorAction SilentlyContinue).Definition
0 commit comments