mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
Merge pull request #351 from bhollis/stacktrace
Stacktraces for config.rb
This commit is contained in:
commit
6d75bb3bf8
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ module Middleman::CoreExtensions::Extensions
|
||||||
local_config = File.join(root, "config.rb")
|
local_config = File.join(root, "config.rb")
|
||||||
if File.exists? local_config
|
if File.exists? local_config
|
||||||
puts "== Reading: Local config" if logging?
|
puts "== Reading: Local config" if logging?
|
||||||
instance_eval File.read(local_config)
|
instance_eval File.read(local_config), local_config, 1
|
||||||
end
|
end
|
||||||
|
|
||||||
run_hook :build_config if build?
|
run_hook :build_config if build?
|
||||||
|
|
Loading…
Reference in a new issue