lib/rubyfocus/document.rb in rubyfocus-0.5.13 vs lib/rubyfocus/document.rb in rubyfocus-0.5.14
- old
+ new
@@ -149,10 +149,10 @@
# Quick check: is it a task being upgraded to a project?
# Upgrade criteria: non-empty project tag
if(
element.class == Rubyfocus::Task &&
(node / "project *").size > 0
- )
+ )
# Upgrade
new_node = element.to_project
new_node.apply_xml(node)
add_element(new_node, overwrite:true)
\ No newline at end of file