lib/propshaft/load_path.rb in propshaft-0.1.5 vs lib/propshaft/load_path.rb in propshaft-0.1.6

- old
+ new

@@ -31,12 +31,11 @@ def assets_by_path Hash.new.tap do |mapped| paths.each do |path| all_files_from_tree(path).each do |file| logical_path = file.relative_path_from(path) - mapped[logical_path.to_s] ||= Propshaft::Asset.new(file, logical_path: logical_path) - end + end if path.exist? end end end def all_files_from_tree(path)