From 0e9f5836ee2be2180b5e35ea18faa3b0d255bab2 Mon Sep 17 00:00:00 2001 From: Olivier Labayle Date: Fri, 30 Aug 2024 16:30:12 +0100 Subject: [PATCH] fix extension typo --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 7ed3930..0377495 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -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