From a70a6d55074258c3077ac3f9f899309da795ee83 Mon Sep 17 00:00:00 2001 From: Ben Hollis Date: Sun, 8 Jan 2012 20:47:05 -0800 Subject: [PATCH] Fix a bad variable reference when logging is turned on --- .../lib/middleman-core/core_extensions/extensions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/middleman-core/lib/middleman-core/core_extensions/extensions.rb b/middleman-core/lib/middleman-core/core_extensions/extensions.rb index d7543b19..5bee01b0 100644 --- a/middleman-core/lib/middleman-core/core_extensions/extensions.rb +++ b/middleman-core/lib/middleman-core/core_extensions/extensions.rb @@ -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