Merge pull request #15739 from carlocab/inreplace-typecheck

utils/inreplace: fix typechecking error
This commit is contained in:
Carlo Cabrera 2023-07-23 18:40:45 +08:00 committed by GitHub
commit bf2b99e770
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ module Utils
sig {
params(
paths: T.any(T::Array[T.untyped], String, Pathname),
before: T.nilable(T.any(Regexp, String)),
before: T.nilable(T.any(Pathname, Regexp, String)),
after: T.nilable(T.any(Pathname, String, Symbol)),
audit_result: T::Boolean,
).void