Skip to content

Commit

Permalink
chore: fix destructuring
Browse files Browse the repository at this point in the history
Signed-off-by: Kelly, Niall <[email protected]>
  • Loading branch information
Kelly, Niall authored and Kelly, Niall committed Jun 4, 2020
1 parent edef482 commit d123147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/grpc-census-prop/capitalize_server.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ let tracer;
let SpanKind;
if (censusTracer) {
tracer = require('./tracer_census')();
({ SpanKind } = require('@opencensus/core').SpanKind);
({ SpanKind } = require('@opencensus/core'));
} else {
tracer = require('./tracer')('example-grpc-capitalize-server', binaryPropagator);
({ SpanKind } = require('@opentelemetry/api').SpanKind);
({ SpanKind } = require('@opentelemetry/api'));
}

const path = require('path');
Expand Down

0 comments on commit d123147

Please sign in to comment.