Skip to content
Snippets Groups Projects
Commit 776c0849 authored by Simon Sigurdhsson's avatar Simon Sigurdhsson Committed by Jack Nagel
Browse files

Fix bug in `brew list --pinned`


Pinned formulae which were pinned at a previous version but then upgraded
would not be listed by `brew list --pinned`. This is due to the good old
"File.exist? thinks broken symlinks don't exist" gotcha, so the test in
the select block in list_pinned has been changed to check if the pin file
exists _or_ is a symlink.

Closes Homebrew/homebrew#20423.

Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
parent 7f9e4e11
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