Make rubocop happy

This commit is contained in:
Dennis Günnewig 2014-07-31 13:13:07 +02:00
parent 98a36d68f0
commit fee6a8b617

View file

@ -176,10 +176,10 @@ module Middleman
opts[:template_body] = content if content
content = if block_given?
render_individual_file(path, locs, opts, context, &block)
else
render_individual_file(path, locs, opts, context)
end
render_individual_file(path, locs, opts, context, &block)
else
render_individual_file(path, locs, opts, context)
end
path = File.basename(path, File.extname(path))
rescue LocalJumpError