document: don't cache @output_ext

Fixes race issue.
Will introduce perf issues, though...
This commit is contained in:
Parker Moore 2016-01-09 18:04:13 -08:00
parent b6c283a4ae
commit bb4f5910c9
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ module Jekyll
# #
# Returns the output extension # Returns the output extension
def output_ext def output_ext
@output_ext ||= Jekyll::Renderer.new(site, self).output_ext Jekyll::Renderer.new(site, self).output_ext
end end
# The base filename of the document, without the file extname. # The base filename of the document, without the file extname.