Include the destination_path in the instrumentation payload.

This commit is contained in:
Kale Worsley 2014-03-28 09:10:33 -07:00
parent 299263c7e5
commit 6f38416c15

View file

@ -111,7 +111,7 @@ module Middleman
relative_source = Pathname(source_file).relative_path_from(Pathname(app.root)) relative_source = Pathname(source_file).relative_path_from(Pathname(app.root))
instrument 'render.resource', :path => relative_source do instrument 'render.resource', :path => relative_source, :destination_path => destination_path do
md = metadata.dup md = metadata.dup
opts = md[:options].deep_merge(opts) opts = md[:options].deep_merge(opts)