tap_auditor: widen type for constructor
We don't always pass `--strict`.
This commit is contained in:
parent
ce67dc3e63
commit
7330b4a6cc
@ -10,7 +10,7 @@ module Homebrew
|
|||||||
|
|
||||||
attr_reader :name, :path, :tap_audit_exceptions, :problems
|
attr_reader :name, :path, :tap_audit_exceptions, :problems
|
||||||
|
|
||||||
sig { params(tap: Tap, strict: T::Boolean).void }
|
sig { params(tap: Tap, strict: T.nilable(T::Boolean)).void }
|
||||||
def initialize(tap, strict:)
|
def initialize(tap, strict:)
|
||||||
@name = tap.name
|
@name = tap.name
|
||||||
@path = tap.path
|
@path = tap.path
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user