Skip to content
Snippets Groups Projects
Commit 9f77ac35 authored by Jonathan Chang's avatar Jonathan Chang
Browse files

Fix type error for inreplace.

`inreplace "file.c", "a", "b"` is a common idiom in
formula install blocks.
parent 4e8d3749
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ module Utils
# @api public
sig do
params(
paths: T::Array[T.untyped],
paths: T.any(T::Array[T.untyped], String),
before: T.nilable(T.any(Regexp, String)),
after: T.nilable(T.any(String, Symbol)),
audit_result: T::Boolean,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment