Skip to content

Commit

Permalink
extend/os/linux/formula_installer: use typed: strict
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Linnane <[email protected]>
  • Loading branch information
p-linnane committed Aug 13, 2024
1 parent 79d887a commit 7e58233
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Library/Homebrew/extend/os/linux/formula_installer.rb
Original file line number Diff line number Diff line change
@@ -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? &&
Expand Down

0 comments on commit 7e58233

Please sign in to comment.