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