Skip to content

Commit

Permalink
style(hapi-instrumentation): lint
Browse files Browse the repository at this point in the history
  • Loading branch information
CptSchnitz committed Aug 9, 2021
1 parent 17f7eb2 commit aa104f5
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,10 @@ export class HapiInstrumentation extends InstrumentationBase {
attributes: metadata.attributes,
});
try {
return await api.context.with<Parameters<Hapi.Lifecycle.Method>, Hapi.Lifecycle.Method>(
return await api.context.with<
Parameters<Hapi.Lifecycle.Method>,
Hapi.Lifecycle.Method
>(
api.trace.setSpan(api.context.active(), span),
method,
undefined,
Expand Down

0 comments on commit aa104f5

Please sign in to comment.