Skip to content

Commit

Permalink
Allow active project to be loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
00vareladavid committed Nov 19, 2019
1 parent 22f0121 commit b03c53b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,8 @@ function sandbox(fn::Function, ctx::Context, target::PackageSpec, target_path::S
@debug "Using _clean_ dep graph"
end
# Run sandboxed code
withenv(fn, "JULIA_LOAD_PATH" => tmp)
path_sep = Sys.iswindows() ? ';' : ':'
withenv(fn, "JULIA_LOAD_PATH" => "@$(path_sep)$(tmp)")
end
end
end
Expand Down

0 comments on commit b03c53b

Please sign in to comment.