cmd/--prefix: Bump to Sorbet typed: strict
This commit is contained in:
parent
8e08a698d1
commit
6cc4d6dacb
@ -1,4 +1,4 @@
|
|||||||
# typed: true
|
# typed: strict
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require "abstract_command"
|
require "abstract_command"
|
||||||
@ -91,6 +91,7 @@ module Homebrew
|
|||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
sig { void }
|
||||||
def list_unbrewed
|
def list_unbrewed
|
||||||
dirs = HOMEBREW_PREFIX.subdirs.map { |dir| dir.basename.to_s }
|
dirs = HOMEBREW_PREFIX.subdirs.map { |dir| dir.basename.to_s }
|
||||||
dirs -= %w[Library Cellar Caskroom .git]
|
dirs -= %w[Library Cellar Caskroom .git]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user