Skip to content

Commit d3e7a0d

Browse files
authored
fix extracting vinfo (#62)
1 parent 0ee84db commit d3e7a0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runbenchmark.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ function _runbenchmark_local(file, output, tunefile, retune)
171171
results = _run(suite)
172172

173173
# Output
174-
vinfo = first(split(readstring(`julia -e 'versioninfo(true)'`), "Environment"))
174+
vinfo = first(split(sprint(versioninfo, true), "Environment"))
175175
juliasha = Base.GIT_VERSION_INFO.commit
176176

177177
open(output, "w") do iof

0 commit comments

Comments
 (0)