mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
22 lines
645 B
Ruby
22 lines
645 B
Ruby
# typed: true # rubocop:todo Sorbet/StrictSigil
|
|
# frozen_string_literal: true
|
|
|
|
module Homebrew
|
|
module Bundle
|
|
module Checker
|
|
class TapChecker < Homebrew::Bundle::Checker::Base
|
|
PACKAGE_TYPE = :tap
|
|
PACKAGE_TYPE_NAME = "Tap"
|
|
|
|
def find_actionable(entries, exit_on_first_error: false, no_upgrade: false, verbose: false)
|
|
requested_taps = format_checkable(entries)
|
|
return [] if requested_taps.empty?
|
|
|
|
current_taps = Homebrew::Bundle::TapDumper.tap_names
|
|
(requested_taps - current_taps).map { |entry| "Tap #{entry} needs to be tapped." }
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|