lib/sdoc_all/task.rb in sdoc_all-0.2.0.8 vs lib/sdoc_all/task.rb in sdoc_all-0.2.0.9

- old
+ new

@@ -63,10 +63,10 @@ latest = [src_path.mtime, src_path.ctime].max created = last_build_time if created && latest < created src_path.find do |path| Find.prune if path.directory? && path.basename.to_s[0] == ?. - latest = [latest, src_path.mtime, src_path.ctime].max + latest = [latest, path.mtime, path.ctime].max break unless latest < created end end created.nil? || latest >= created end