Skip to content

Commit

Permalink
Better fix for uuid/name inference
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Jun 28, 2020
1 parent 6c249f0 commit d97942e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1749,8 +1749,8 @@ function status(ctx::Context, pkgs::Vector{PackageSpec}=PackageSpec[];
old_ctx = Context(;env=env_diff)
end
# display
filter_uuids = [pkg.uuid for pkg in pkgs if pkg.uuid !== nothing]
filter_names = [pkg.name for pkg in pkgs if pkg.name !== nothing]
filter_uuids = [pkg.uuid::UUID for pkg in pkgs if pkg.uuid !== nothing]
filter_names = [pkg.name::String for pkg in pkgs if pkg.name !== nothing]
diff = old_ctx !== nothing
header = something(header, diff ? :Diff : :Status)
if mode == PKGMODE_PROJECT || mode == PKGMODE_COMBINED
Expand Down

0 comments on commit d97942e

Please sign in to comment.