Merge pull request #15739 from carlocab/inreplace-typecheck
utils/inreplace: fix typechecking error
This commit is contained in:
commit
bf2b99e770
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user