Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/list: fix duplicate casks when symlinks exist
When a cask is renamed (e.g. logi-options-plus to logi-options+), Homebrew creates a symlink in the Caskroom directory. Currently, `brew list --cask` shows both the original and symlinked cask as separate entries. This patch modifies the listing logic to resolve symlinks and show only unique casks. Fixes Homebrew#18849
- Loading branch information