Remove disabled extend.

This commit is contained in:
Markus Reiter 2024-04-30 11:01:12 +02:00
parent 11348b348e
commit f7361c8d29
No known key found for this signature in database
GPG Key ID: 245293B51702655B
3 changed files with 0 additions and 23 deletions

View File

@ -1,17 +0,0 @@
# typed: true
# frozen_string_literal: true
class Tap
def self.install_default_cask_tap_if_necessary(force: false)
odisabled "Tap.install_default_cask_tap_if_necessary", "CoreCaskTap.ensure_installed!"
cask_tap = CoreCaskTap.instance
return false if cask_tap.installed?
return false unless Homebrew::EnvConfig.no_install_from_api?
return false if Homebrew::EnvConfig.automatically_set_no_install_from_api?
return false if !force && Tap.untapped_official_taps.include?(cask_tap.name)
cask_tap.install
true
end
end

View File

@ -1,4 +0,0 @@
# typed: strict
# frozen_string_literal: true
require "extend/os/mac/tap" if OS.mac?

View File

@ -1458,5 +1458,3 @@ class TapConfig
Homebrew::Settings.delete key, repo: tap.path
end
end
require "extend/os/tap"