From 6cc4d6dacb69299935c0595158070f336adcd5bc Mon Sep 17 00:00:00 2001 From: Issy Long Date: Sat, 10 Aug 2024 22:17:05 +0100 Subject: [PATCH] cmd/--prefix: Bump to Sorbet `typed: strict` --- Library/Homebrew/cmd/--prefix.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/--prefix.rb b/Library/Homebrew/cmd/--prefix.rb index c01fa7dc17..2f1a87fe80 100644 --- a/Library/Homebrew/cmd/--prefix.rb +++ b/Library/Homebrew/cmd/--prefix.rb @@ -1,4 +1,4 @@ -# typed: true +# typed: strict # frozen_string_literal: true require "abstract_command" @@ -91,6 +91,7 @@ module Homebrew private + sig { void } def list_unbrewed dirs = HOMEBREW_PREFIX.subdirs.map { |dir| dir.basename.to_s } dirs -= %w[Library Cellar Caskroom .git]