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