Skip to content

Commit 81db14e

Browse files
authored
Use Base.active_project. (#316)
1 parent 56559ec commit 81db14e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/support.jl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ code = """
88
"""
99

1010
out = Pipe()
11-
cmd = Base.julia_cmd()
12-
if Base.JLOptions().project != C_NULL
13-
cmd = `$cmd --project=$(unsafe_string(Base.JLOptions().project))`
14-
end
11+
cmd = `$(Base.julia_cmd()) --project=$(Base.active_project())`
1512
run(pipeline(`$cmd -e $code`, stdout=out, stderr=out))
1613
close(out.in)
1714

0 commit comments

Comments
 (0)