Commit a39344e7 authored by Jonathan Chang's avatar Jonathan Chang
Browse files

tap: read_formula_list JSON file can be an array

parent ed73d5b6
......@@ -632,7 +632,7 @@ class Tap
end
end
sig { params(file: Pathname).returns(Hash) }
sig { params(file: Pathname).returns(T.any(T::Array[String], Hash)) }
def read_formula_list(file)
JSON.parse file.read
rescue JSON::ParserError
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment