Skip to content

Commit

Permalink
Fix variable naming confusion in warn_if_already_loaded_different() (
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat committed Jan 6, 2024
1 parent ecb668b commit c827094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2001,7 +2001,7 @@ function warn_if_already_loaded_different(uuidkey::PkgId)
v = get_pkgversion_from_path(dirname(dirname(pkgorig.path)))
cur_vstr = isnothing(v) ? "" : "v$v "
else
cur_vstr = "v$v "
cur_vstr = "v$(pkgorig.version) "
end
new_v = get_pkgversion_from_path(dirname(dirname(new_path)))
new_vstr = isnothing(new_v) ? "" : "v$new_v "
Expand Down

0 comments on commit c827094

Please sign in to comment.