Skip to content

Commit

Permalink
fix function call
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-lara committed Sep 24, 2024
1 parent cfb63ae commit 48e73e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/file_utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Return a decoded JSON file.
"""
function read_json(filename::AbstractString)
open(filename, "r") do io
JSON3.parse(io)
JSON3.read(io)
end
end

Expand All @@ -28,7 +28,7 @@ end

function read_file_hashes(path)
data = open(joinpath(path, IS.HASH_FILENAME), "r") do io
JSON3.parse(io)
JSON3.read(io)
end

return data["files"]
Expand Down

0 comments on commit 48e73e3

Please sign in to comment.