Fix a bad variable reference when logging is turned on
This commit is contained in:
parent
d0dd60fb4b
commit
a70a6d5507
|
@ -102,11 +102,11 @@ module Middleman::CoreExtensions::Extensions
|
||||||
end
|
end
|
||||||
|
|
||||||
if ext.nil?
|
if ext.nil?
|
||||||
puts "== Unknown Extension: #{feature}"
|
puts "== Unknown Extension: #{ext}"
|
||||||
elsif ext.is_a?(String)
|
elsif ext.is_a?(String)
|
||||||
puts ext
|
puts ext
|
||||||
else
|
else
|
||||||
puts "== Activating: #{feature}" if logging?
|
puts "== Activating: #{ext}" if logging?
|
||||||
self.class.register(ext, options, &block)
|
self.class.register(ext, options, &block)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue