We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a139c20 commit 05b9cd8Copy full SHA for 05b9cd8
ci/show_versions.jl
@@ -1,4 +1,10 @@
1
-for line in split(strip(readstring("REQUIRE")), '\n')[2:end]
2
- name = split(line)[1]
3
- println(name, "\t", Pkg.installed(name))
+if VERSION >= v"0.7.0-"
+ using Pkg
+ show(stdout, "text/plain", Pkg.installed())
4
+ println()
5
+else
6
+ for line in split(strip(readstring("REQUIRE")), '\n')[2:end]
7
+ name = split(line)[1]
8
+ println(name, "\t", Pkg.installed(name))
9
+ end
10
end
0 commit comments