From c4057522e6fb4797b2f646a16a167dced8846d79 Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Fri, 15 Jul 2022 11:56:56 -0400 Subject: [PATCH] fix env_var_name variable --- src/inputs.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inputs.jl b/src/inputs.jl index c0b9a6d..7fdcf7c 100644 --- a/src/inputs.jl +++ b/src/inputs.jl @@ -33,7 +33,7 @@ function get_input_from_environment(input::Symbol, env_var_contents = strip(get(ENV, env_var_name_to_use, "")) if isempty(env_var_contents) if default_value isa Nothing - throw(ArgumentError("Either the `$(_env_var_name)` environment variable is undefined, or it is defined but empty.")) + throw(ArgumentError("Either the `$env_var_name` environment variable is undefined, or it is defined but empty.")) else return post_process_input(Val(input), default_value) end