From 1d3e7d5ab0f28b378159882ce4811253314c2ff8 Mon Sep 17 00:00:00 2001 From: David Anthoff Date: Sun, 25 Jul 2021 11:00:39 -0700 Subject: [PATCH] Fix env_project_file usage --- src/multienv.jl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/multienv.jl b/src/multienv.jl index 79767b9f..49404d61 100644 --- a/src/multienv.jl +++ b/src/multienv.jl @@ -24,7 +24,9 @@ function env_file(env::String, names = project_names)::Union{Nothing,String} end function is_project_folder_in_env(folder, env_manifest, server) - folder_proj = parsed_toml(env_project_file(folder)) + project_file = Base.env_project_file(folder) + project_file isa Bool && return false + folder_proj = parsed_toml(project_file) manifest_pe = get(env_manifest, get(folder_proj, "uuid", ""), nothing) if manifest_pe === nothing return false