Fix a bad variable reference when logging is turned on

This commit is contained in:
Ben Hollis 2012-01-08 20:47:05 -08:00
parent d0dd60fb4b
commit a70a6d5507

View file

@ -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