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 }
|
sig { params(tap: Tap, strict: T.nilable(T::Boolean)).void }
|
||||||
def initialize(tap, strict:)
|
def initialize(tap, strict:)
|
||||||
|
Homebrew.with_no_api_env do
|
||||||
@name = tap.name
|
@name = tap.name
|
||||||
@path = tap.path
|
@path = tap.path
|
||||||
@cask_tokens = tap.cask_tokens
|
@cask_tokens = tap.cask_tokens
|
||||||
@ -26,6 +27,7 @@ module Homebrew
|
|||||||
formula_name.split("/").last
|
formula_name.split("/").last
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
sig { void }
|
sig { void }
|
||||||
def audit
|
def audit
|
||||||
|
Loading…
x
Reference in New Issue
Block a user