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:
commit
142d1b1871
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue