Skip to content

Commit

Permalink
include UUIDs in default output
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski committed Jan 31, 2025
1 parent ce16850 commit d265016
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/resolve.jl
Original file line number Diff line number Diff line change
Expand Up @@ -390,11 +390,12 @@ handle_opt("manifest", false) do str
end || begin
# just print packages and versions
names = [first(PACKAGES[uuid]).name for uuid in pkgs]
width = maximum(length, names) + 1
width = maximum(length, names)
for (i, uuid) in enumerate(pkgs)
uuid === JULIA_UUID && continue
version = vers[i]
version === nothing && continue
name = first(PACKAGES[uuid]).name
println(rpad(name, width), " ", version)
println(uuid, " ", rpad(name, width), " ", version)
end
end

0 comments on commit d265016

Please sign in to comment.