Merge pull request #18045 from Homebrew/linux-formula_installer-strict

This commit is contained in:
Carlo Cabrera 2024-08-15 17:47:19 +08:00 committed by GitHub
commit c42860cd3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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? &&