Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix env_project_file usage #969

Merged
merged 1 commit into from
Jul 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/multienv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down