services/formulae: typed strict
Co-authored-by: Bo Anderson <mail@boanderson.me>
This commit is contained in:
parent
214a88e434
commit
dde6703237
@ -1,4 +1,4 @@
|
|||||||
# typed: true # rubocop:todo Sorbet/StrictSigil
|
# typed: strict
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require "services/formula_wrapper"
|
require "services/formula_wrapper"
|
||||||
@ -24,6 +24,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
# List all available services with status, user, and path to the file.
|
# List all available services with status, user, and path to the file.
|
||||||
|
sig { returns(T::Array[T::Hash[Symbol, T.anything]]) }
|
||||||
def self.services_list
|
def self.services_list
|
||||||
available_services.map(&:to_hash)
|
available_services.map(&:to_hash)
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user