Skip to content

Commit

Permalink
Add latest version logging to dry-run script
Browse files Browse the repository at this point in the history
  • Loading branch information
feelepxyz committed Sep 12, 2019
1 parent 8b1518c commit 4710b3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/dry-run.rb
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,9 @@ def cached_dependency_files_read

puts " => checking for updates"
updated_deps = cached_read("updates") do
puts " => latest version from registry is #{checker.latest_version}"
puts " => latest resolvable version is #{checker.latest_resolvable_version}"

requirements_to_unlock =
if !checker.requirements_unlocked_or_can_be?
if checker.can_update?(requirements_to_unlock: :none) then :none
Expand Down

0 comments on commit 4710b3c

Please sign in to comment.