Make rubocop happy
This commit is contained in:
parent
98a36d68f0
commit
fee6a8b617
|
@ -176,10 +176,10 @@ module Middleman
|
||||||
opts[:template_body] = content if content
|
opts[:template_body] = content if content
|
||||||
|
|
||||||
content = if block_given?
|
content = if block_given?
|
||||||
render_individual_file(path, locs, opts, context, &block)
|
render_individual_file(path, locs, opts, context, &block)
|
||||||
else
|
else
|
||||||
render_individual_file(path, locs, opts, context)
|
render_individual_file(path, locs, opts, context)
|
||||||
end
|
end
|
||||||
|
|
||||||
path = File.basename(path, File.extname(path))
|
path = File.basename(path, File.extname(path))
|
||||||
rescue LocalJumpError
|
rescue LocalJumpError
|
||||||
|
|
Loading…
Reference in a new issue