Alex Dunn 79ea14b738 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 9efe5b554c (commitcomment-12969631)

Closes Homebrew/homebrew#43433.
2015-08-31 07:54:59 -07:00
..
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-25 08:24:04 -07:00
2015-08-03 13:22:35 +01:00
2015-08-22 13:15:33 +08:00
2015-08-06 22:33:46 +08:00
2015-08-31 09:21:51 +02:00
2015-08-29 15:43:16 +01:00
2015-08-03 13:22:35 +01:00
2014-07-17 12:24:03 -05:00
2015-08-26 23:56:10 +01:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-07 19:36:29 +08:00
2015-08-14 15:52:56 +08:00
2015-08-27 13:51:04 +01:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-14 15:52:56 +08:00
2015-08-14 15:52:56 +08:00
2015-05-08 13:51:26 +08:00
2015-08-29 15:43:16 +01:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-06 17:23:55 +08:00
2015-08-25 17:13:37 +02:00
2015-08-03 13:22:35 +01:00
2015-08-25 14:15:38 +02:00
2015-08-25 22:01:24 +01:00
2015-07-22 20:27:20 +08:00
2015-08-18 15:58:07 +08:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-03 13:22:35 +01:00
2015-08-10 12:17:25 +01:00
2015-08-03 13:22:35 +01:00