share/rbbt_commands/workflow/prov in rbbt-util-5.21.98 vs share/rbbt_commands/workflow/prov in rbbt-util-5.21.99
- old
+ new
@@ -50,10 +50,10 @@
parts = path.sub(/\{.*/,'').sub(/#{Regexp.quote(name)}$/,'').split "/"
task = Log.color(:yellow, parts.pop)
workflow = Log.color(:magenta, parts.pop)
- if not Open.remote?(path) and $main_mtime and ($main_mtime - File.mtime(path)) < 0
+ if not Open.remote?(path) and (File.exists?(path) and $main_mtime and ($main_mtime - File.mtime(path)) < 0)
status_msg(status) << " " << [workflow, task, path] * " " << " (#{Log.color(:red, "Mtime out of sync") })\n"
else
status_msg(status) << " " << [workflow, task, path] * " " << "\n"
end
end