Skip to content

Commit

Permalink
fix #74 (#75)
Browse files Browse the repository at this point in the history
tests pass locally on v0.6.1
  • Loading branch information
Ken-B authored and KristofferC committed Dec 10, 2017
1 parent d335252 commit bd7da6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Operations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ function apply_versions(env::EnvCache, pkgs::Vector{PackageSpec})::Vector{UUID}
end

textwidth = VERSION < v"0.7.0-DEV.1930" ? Base.strwidth : Base.textwidth
widths = [textwidth(names[pkg.uuid]) for pkg in pkgs]
widths = [textwidth(names[pkg.uuid]) for pkg in pkgs if haskey(names, pkg.uuid)]
max_name = length(widths) == 0 ? 0 : maximum(widths)

for _ in 1:length(pkgs)
Expand Down

0 comments on commit bd7da6d

Please sign in to comment.