extend/os/linux/formula_installer: use typed: strict

Signed-off-by: Patrick Linnane <patrick@linnane.io>
This commit is contained in:
Patrick Linnane 2024-08-13 12:56:01 -06:00
parent 79d887afa2
commit 7e58233aaf
No known key found for this signature in database

View File

@ -1,9 +1,7 @@
# typed: true # rubocop:disable Sorbet/StrictSigil
# typed: strict
# frozen_string_literal: true
class FormulaInstaller
undef fresh_install?
sig { params(formula: Formula).returns(T.nilable(T::Boolean)) }
def fresh_install?(formula)
!Homebrew::EnvConfig.developer? &&