Skip to content

Commit

Permalink
dont warn on removed packages
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed Jun 12, 2018
1 parent f0390db commit 6dcbcb2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion stdlib/Pkg/src/Display.jl
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ function print_diff(io::IO, ctx::Context, diff::Vector{DiffEntry}, status=false)
some_packages_not_downloaded = false
for x in diff
package_downloaded = Base.locate_package(Base.PkgId(x.uuid, x.name)) !== nothing
package_downloaded || (some_packages_not_downloaded = true)
if x.old != nothing && x.new != nothing
if x.old x.new
verb = ' '
Expand Down Expand Up @@ -175,6 +174,9 @@ function print_diff(io::IO, ctx::Context, diff::Vector{DiffEntry}, status=false)
else
print(io, " ")
end
if verb != '-'
package_downloaded || (some_packages_not_downloaded = true)
end
printstyled(io, " [$(string(x.uuid)[1:8])]"; color = color_dark)
printstyled(io, "$v $(x.name) $vstr\n"; color = colors[verb])
end
Expand Down

0 comments on commit 6dcbcb2

Please sign in to comment.