Skip to content
Snippets Groups Projects
Commit 376fa599 authored by Charlie Sharpsteen's avatar Charlie Sharpsteen
Browse files

brew-update: Guard non-directory files in Taps

Skip any entries returned by `Dir["Library/Taps/*"].each` that are not
directories.
parent 1b991c5a
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,8 @@ module Homebrew extend self
new_files = []
Dir["Library/Taps/*"].each do |tapd|
next unless File.directory?(tapd)
cd tapd do
begin
updater = Updater.new
......
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