lib/brief/repository.rb in brief-1.5.1 vs lib/brief/repository.rb in brief-1.5.2

- old
+ new

@@ -72,10 +72,10 @@ def document_paths Dir[root.join('**/*.md').to_s].map { |p| Pathname(p) } end def all_models - list = documents.map(&:to_model) + list = documents.select(&:refresh!).map(&:to_model) list.compact! list.select!(&:exists?) list end