dev-cmd/tap-new: Bump to Sorbet typed: strict
This commit is contained in:
parent
69cf1df56f
commit
3b28e90556
@ -1,4 +1,4 @@
|
||||
# typed: true
|
||||
# typed: strict
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "abstract_command"
|
||||
@ -197,6 +197,7 @@ module Homebrew
|
||||
|
||||
private
|
||||
|
||||
sig { params(tap: Tap, filename: T.any(String, Pathname), content: String).void }
|
||||
def write_path(tap, filename, content)
|
||||
path = tap.path/filename
|
||||
tap.path.mkpath
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user