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 0a7bdc4 commit b956c7aCopy full SHA for b956c7a
src/compat_check.jl
@@ -154,7 +154,11 @@ function get_dep_entries end
154
if haskey(getdeps(active_env.manifest), testreport_proj.deps[dep])
155
push!(deps_to_check, getdeps(active_env.manifest)[testreport_proj.deps[dep]])
156
else
157
- version_number = isa(testreport_proj.compat[dep], String) ? VersionNumber(testreport_proj.compat[dep]) : VersionNumber(testreport_proj.compat[dep].str)
+ @static if VERSION >= v"1.7.0"
158
+ version_number = VersionNumber(testreport_proj.compat[dep].str)
159
+ else
160
+ version_number = VersionNumber(testreport_proj.compat[dep])
161
+ end
162
pkg_entry = Pkg.Types.PackageEntry(
163
name=dep,
164
other=Dict("uuid" => testreport_proj.deps[dep]),
0 commit comments