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.
2 parents 38c1450 + ace2a4a commit 697f8b0Copy full SHA for 697f8b0
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