Skip to content
Snippets Groups Projects
Commit 79ea14b7 authored by Alex Dunn's avatar Alex Dunn
Browse files

cmd/search: fix filtering of aliases in results

By directly modifying the results array with
`results[i] = "#{name} (installed)"`, it appeared on successive
iterations that the canonical name was no longer in the array, so
aliases were not removed.

See https://github.com/Homebrew/homebrew/commit/9efe5b554ce9cf6626d9794173725f5e063e5806#commitcomment-12969631

Closes Homebrew/homebrew#43433.
parent 5dd0f089
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment