Skip to content

Commit

Permalink
fix extension typo
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierlabayle committed Aug 30, 2024
1 parent 507f32f commit 0e9f583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function read_estimands_config(filename)
elseif endswith(filename, ".jls")
return deserialize(filename)
else
throw(ArgumentError(string("Can't read from ", extension, " file")))
throw(ArgumentError(string("Can't read ", filename, ", only supported file types are: JSON, YAML and JLS.")))
end
end

Expand Down

0 comments on commit 0e9f583

Please sign in to comment.