Rubocop: lib/jekyll/readers/static_file_reader.rb
This commit is contained in:
parent
0696e6c169
commit
382be191ae
|
@ -14,7 +14,9 @@ module Jekyll
|
||||||
#
|
#
|
||||||
# Returns an array of static files.
|
# Returns an array of static files.
|
||||||
def read(files)
|
def read(files)
|
||||||
files.map { |file| @unfiltered_content << StaticFile.new(@site, @site.source, @dir, file) }
|
files.map do |file|
|
||||||
|
@unfiltered_content << StaticFile.new(@site, @site.source, @dir, file)
|
||||||
|
end
|
||||||
@unfiltered_content
|
@unfiltered_content
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue