Skip to content

Commit ab90f01

Browse files
committed
Fix choose_env
1 parent d85bca7 commit ab90f01

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/runserver.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ function runserver(pipe_in=stdin, pipe_out=stdout, env_path=choose_env(),
4646
run(server)
4747
end
4848

49-
choose_env() = something(get(ARGS, 1, nothing), # 1. path passed explicitly
50-
Base.current_project(pwd()), # 2. parent project of pwd()
51-
Base.load_path_expand("@v#.#")) # 3. default "global" env
49+
choose_env() = something(get(ARGS, 1, nothing), # 1. path passed explicitly
50+
dirname(Base.current_project(pwd())), # 2. parent project of pwd()
51+
dirname(Base.load_path_expand("@v#.#"))) # 3. default "global" env

0 commit comments

Comments
 (0)