share/rbbt_commands/workflow/prov in rbbt-util-5.23.4 vs share/rbbt_commands/workflow/prov in rbbt-util-5.23.5
- old
+ new
@@ -109,18 +109,18 @@
status = "remote" if Open.remote?(path)
name = info[:name] || File.basename(path)
status = :unsync if status == :done and not File.exist? path
str = " " * offset
str << report_msg(status, name, path, info)
- info[:dependencies].each do |task,name,path|
+ step.dependencies.each do |dep|
+ path = dep.path
new = ! $seen.include?(path)
- dep = get_step path
if new
str << report(dep, offset + 1, task)
else
str << Log.color(:blue, Log.uncolor(report(dep, offset+1, task)))
end
- end if info[:dependencies]
+ end if step.dependencies
str
end
step = get_step file
$main_mtime = File.exist?(step.path) ? File.mtime(step.path) : nil