Skip to content

Commit

Permalink
better info messages for activating new env
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikekre committed Aug 11, 2018
1 parent fb761ea commit 6e79357
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/API.jl
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ function activate(path::String; shared::Bool=false)
fullpath = abspath(devpath)
else
fullpath = abspath(path)
isdir(fullpath) || @info("new environment will be placed at $fullpath")
isdir(fullpath) || @info("activating environment at $fullpath.")
end
else
# initialize `fullpath` in case of empty `Pkg.depots()`
Expand All @@ -611,7 +611,7 @@ function activate(path::String; shared::Bool=false)
# unless the shared environment already exists, place it in the first depots
if !isdir(fullpath)
fullpath = joinpath(Pkg.envdir(Pkg.depots1()), path)
@info("new shared environment \"$path\" will be placed at $fullpath")
@info("activating new shared environment \"$path\" at $fullpath.")
end
end
Base.ACTIVE_PROJECT[] = Base.load_path_expand(fullpath)
Expand Down

0 comments on commit 6e79357

Please sign in to comment.