lib/hanami/assets/config/sources.rb in hanami-assets-1.3.0.beta1 vs lib/hanami/assets/config/sources.rb in hanami-assets-1.3.0

- old
+ new

@@ -56,9 +56,10 @@ def files(name = nil) result = [] Utils::FileList[map { |source| "#{source}#{::File::SEPARATOR}**#{::File::SEPARATOR}#{name}*" }].each do |file| next if ::File.directory?(file) || ::File.basename(file).start_with?(SKIPPED_FILE_PREFIX) + result << file end result end