Merge pull request #1234 from kaleworsley/more_details_in_the_instrumentation_payload

Include the destination_path in the instrumentation payload.
This commit is contained in:
Thomas Reynolds 2014-03-28 10:33:50 -07:00
commit 142d1b1871

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)