extend/os/mac/utils/copy: typed: strict

This commit is contained in:
Daiki Mizukami 2024-06-13 06:56:18 +09:00
parent e4fefc94eb
commit a30cd15a73
No known key found for this signature in database
GPG Key ID: 10478E598B944AA2

View File

@ -1,4 +1,4 @@
# typed: true
# typed: strict
# frozen_string_literal: true
module Utils
@ -8,7 +8,7 @@ module Utils
private
# Use the lightweight `clonefile(2)` syscall if applicable.
SONOMA_FLAGS = ["-c"].freeze
SONOMA_FLAGS = T.let(["-c"].freeze, T::Array[String])
sig { returns(T.nilable(T::Array[String])) }
def extra_flags