Collections

This commit is contained in:
Thomas Reynolds 2014-06-28 15:07:43 -07:00
parent 445443cffc
commit a95dbb6367
36 changed files with 964 additions and 57 deletions

View file

@ -172,7 +172,7 @@ module Middleman
.lazy
.select { |d| d.type == type }
.map { |d| d.find(path, glob) }
.reject { |d| d.nil? }
.reject(&:nil?)
.first
end