lib/roda/plugins/assets.rb in roda-3.25.0 vs lib/roda/plugins/assets.rb in roda-3.26.0
- old
+ new
@@ -492,10 +492,10 @@
content = files.map do |file|
file = "#{dirs.join('/')}/#{file}" if dirs && o[:group_subdirs]
file = "#{o[:"#{type}_path"]}#{file}"
app.read_asset_file(file, type)
- end.join
+ end.join("\n")
unless o[:concat_only]
content = compress_asset(content, type)
end