lib/nanoc3/cli/commands/debug.rb in nanoc3-3.2.0a2 vs lib/nanoc3/cli/commands/debug.rb in nanoc3-3.2.0a3
- old
+ new
@@ -51,10 +51,10 @@
puts
items.sort_by { |i| i.identifier }.each do |item|
puts "item #{item.identifier} depends on:"
predecessors = dependency_tracker.direct_predecessors_of(item).sort_by { |i| i.identifier }
predecessors.each do |pred|
- puts " #{pred.identifier}"
+ puts " [ #{format '%6s', pred.type} ] #{pred.identifier}"
end
puts " (nothing)" if predecessors.empty?
puts
end