Skip to content

Commit

Permalink
Merge pull request #18079 from Homebrew/cleaner-typed-strict
Browse files Browse the repository at this point in the history
cleaner: use `typed: strict`
  • Loading branch information
dduugg committed Aug 18, 2024
2 parents 2374e98 + 444d4ca commit f9b81af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Library/Homebrew/cleaner.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# typed: true # rubocop:todo Sorbet/StrictSigil
# typed: strict
# frozen_string_literal: true

# Cleans a newly installed keg.
Expand Down Expand Up @@ -113,7 +113,7 @@ def executable_path?(path)
# pointless conflicts with other formulae. They are removed by Debian,
# Arch & MacPorts amongst other packagers as well. The files are
# created as part of installing any Perl module.
PERL_BASENAMES = Set.new(%w[perllocal.pod .packlist]).freeze
PERL_BASENAMES = T.let(Set.new(%w[perllocal.pod .packlist]).freeze, T::Set[String])

# Clean a top-level (`bin`, `sbin`, `lib`) directory, recursively, by fixing file
# permissions and removing .la files, unless the files (or parent
Expand Down

0 comments on commit f9b81af

Please sign in to comment.