Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
vmarchaud committed Sep 24, 2020
1 parent f7df52d commit 76575d9
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/opentelemetry-api/test/context/context.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

import * as assert from 'assert';
import { ROOT_CONTEXT, createContextKey } from '@opentelemetry/context-base'
import { ROOT_CONTEXT, createContextKey } from '@opentelemetry/context-base';
import {
suppressInstrumentation,
unsuppressInstrumentation,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
setExtractedSpanContext,
} from '@opentelemetry/api';

import { createContextKey } from '@opentelemetry/context-base'
import { createContextKey } from '@opentelemetry/context-base';

export const X_B3_TRACE_ID = 'x-b3-traceid';
export const X_B3_SPAN_ID = 'x-b3-spanid';
Expand Down
5 changes: 1 addition & 4 deletions packages/opentelemetry-plugin-http/src/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ import {
TraceFlags,
getExtractedSpanContext,
} from '@opentelemetry/api';
import {
BasePlugin,
NoRecordingSpan,
} from '@opentelemetry/core';
import { BasePlugin, NoRecordingSpan } from '@opentelemetry/core';
import type {
ClientRequest,
IncomingMessage,
Expand Down
4 changes: 3 additions & 1 deletion packages/opentelemetry-tracing/src/Tracer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,9 @@ export class Tracer implements api.Tracer {
bind<T>(target: T, span?: api.Span): T {
return api.context.bind(
target,
span ? api.setActiveSpan(api.context.active(), span) : api.context.active()
span
? api.setActiveSpan(api.context.active(), span)
: api.context.active()
);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@
*/

import { context, suppressInstrumentation } from '@opentelemetry/api';
import {
ExportResult,
unrefTimer,
} from '@opentelemetry/core';
import { ExportResult, unrefTimer } from '@opentelemetry/core';
import { SpanProcessor } from '../SpanProcessor';
import { BufferConfig } from '../types';
import { ReadableSpan } from './ReadableSpan';
Expand Down

0 comments on commit 76575d9

Please sign in to comment.