Skip to content
Snippets Groups Projects
Commit 20e85ace authored by Steven Peters's avatar Steven Peters
Browse files

keg: uniq.sort -> sort.uniq

parent 1ad0addb
No related branches found
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ class Keg
opt
var/homebrew/linked
]
).map { |dir| HOMEBREW_PREFIX/dir }.uniq.sort.freeze
).map { |dir| HOMEBREW_PREFIX/dir }.sort.uniq.freeze
# Keep relatively in sync with
# https://github.com/Homebrew/install/blob/master/install
......@@ -98,7 +98,7 @@ class Keg
HOMEBREW_REPOSITORY,
Language::Python.homebrew_site_packages,
]
).uniq.sort.freeze
).sort.uniq.freeze
# These paths relative to the keg's share directory should always be real
# directories in the prefix, never symlinks.
......
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