Skip to content

Commit

Permalink
JULIA_CONDAPKG_ENV cannot be a .CondaPkg directory (#71)
Browse files Browse the repository at this point in the history
Co-authored-by: Christopher Doris <github.com/cjdoris>
  • Loading branch information
cjdoris authored Jan 26, 2023
1 parent be0172f commit a61fb53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/resolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ function resolve(; force::Bool=false, io::IO=stderr, interactive::Bool=false, dr
shared = true
else
isabspath(conda_env) || error("JULIA_CONDAPKG_ENV must be an absolute path")
occursin(".CondaPkg", conda_env) && error("JULIA_CONDAPKG_ENV must not be an existing .CondaPkg, select another directory")
shared = true
end
STATE.conda_env = conda_env
Expand Down

0 comments on commit a61fb53

Please sign in to comment.