tap_auditor: fix API data getting mixed in

This commit is contained in:
Bo Anderson 2023-07-04 16:08:47 +01:00
parent a5a728a4df
commit 8045ed959a
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -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