Skip to content

Commit

Permalink
Merge pull request microsoft#223127 from microsoft/tyriar/dupes2
Browse files Browse the repository at this point in the history
Fix duplicate suggestions showing up
  • Loading branch information
Tyriar authored Jul 22, 2024
2 parents 551bb65 + a5fd194 commit e2cdddf
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ function Send-Completions {
}

function Compress-Completions($completions) {
$completions | ForEach-Object { ,@($_.CompletionText, $_.ResultType, $_.tooltip) }
$completions | ForEach-Object {
if ($_.CompletionText -eq $_.ToolTip) {
,@($_.CompletionText, $_.ResultType)
Expand Down

0 comments on commit e2cdddf

Please sign in to comment.