tap_auditor: widen type for constructor

We don't always pass `--strict`.
This commit is contained in:
Jonathan Chang 2020-11-20 22:20:34 +11:00
parent ce67dc3e63
commit 7330b4a6cc

View File

@ -10,7 +10,7 @@ module Homebrew
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:)
@name = tap.name
@path = tap.path