mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
tap_auditor: fix API data getting mixed in
This commit is contained in:
parent
a5a728a4df
commit
8045ed959a
@ -11,6 +11,7 @@ module Homebrew
|
||||
|
||||
sig { params(tap: Tap, strict: T.nilable(T::Boolean)).void }
|
||||
def initialize(tap, strict:)
|
||||
Homebrew.with_no_api_env do
|
||||
@name = tap.name
|
||||
@path = tap.path
|
||||
@cask_tokens = tap.cask_tokens
|
||||
@ -26,6 +27,7 @@ module Homebrew
|
||||
formula_name.split("/").last
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
sig { void }
|
||||
def audit
|
||||
|
Loading…
x
Reference in New Issue
Block a user