Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add a filename and line number argument to instance_exec so config.rb…

… gets to participate in stack traces.
  • Loading branch information...
commit 8730a540b0a621aee5e0401ab239330262fba72e 1 parent b1ba94c
@bhollis authored
View
2  middleman-core/lib/middleman-core/core_extensions/extensions.rb
@@ -128,7 +128,7 @@ def initialize
local_config = File.join(root, "config.rb")
if File.exists? local_config
puts "== Reading: Local config" if logging?
- instance_eval File.read(local_config)
+ instance_eval File.read(local_config), local_config, 1
end
run_hook :build_config if build?
Please sign in to comment.
Something went wrong with that request. Please try again.