
The linked_keg variable is referenced outside the block where it is defined; I think it should be the installed_keg variable.
Library
This directory contains all the code run by the official brew
and brew cask
commands in Homebrew
and all formulae (package descriptions) in taps (repositories containing formulae) in Taps
subdirectories.