From bb4f5910c969843f67385088be72055aeeba8c90 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Sat, 9 Jan 2016 18:04:13 -0800 Subject: [PATCH] document: don't cache @output_ext Fixes race issue. Will introduce perf issues, though... --- lib/jekyll/document.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/document.rb b/lib/jekyll/document.rb index c3fff329..911cb4e6 100644 --- a/lib/jekyll/document.rb +++ b/lib/jekyll/document.rb @@ -89,7 +89,7 @@ module Jekyll # # Returns the output extension def output_ext - @output_ext ||= Jekyll::Renderer.new(site, self).output_ext + Jekyll::Renderer.new(site, self).output_ext end # The base filename of the document, without the file extname.