Properly define tapped formulae in update
A tapped formula is a ruby file present:
- in the root of the tap
- in directory of the tap called Formula
- in a directory of the tap called HomebrewFormula
And nowhere else. This corrects an overzealous definition of tapped
formula in the updater. (the correct definition has been in Pathname
since e613cbe5783cea2abb8100b56c22126a1ab6b9f2)
Refs Homebrew/homebrew#19743.
Closes Homebrew/homebrew#21087.
Signed-off-by:
Jack Nagel <jacknagel@gmail.com>
Showing
- Library/Homebrew/cmd/update.rb 14 additions, 1 deletionLibrary/Homebrew/cmd/update.rb
- Library/Homebrew/test/fixtures/updater_fixture.yaml 6 additions, 0 deletionsLibrary/Homebrew/test/fixtures/updater_fixture.yaml
- Library/Homebrew/test/test_updater.rb 24 additions, 0 deletionsLibrary/Homebrew/test/test_updater.rb
Loading
Please register or sign in to comment