Skip to content

Commit f0c5553

Browse files
committed
fix linting
1 parent adf2a76 commit f0c5553

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/core/src/tracing/transaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export class Transaction extends SpanClass implements TransactionInterface {
163163
* @inheritDoc
164164
*/
165165
public updateWithContext(transactionContext: TransactionContext): this {
166-
// eslint-disable-next-line deprecation/deprecation
166+
// eslint-disable-next-line deprecation/deprecation
167167
super.updateWithContext(transactionContext);
168168

169169
this.name = transactionContext.name || '';

packages/tracing/test/span.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@ describe('Span', () => {
471471
});
472472
});
473473

474-
/* eslint-disable deprecation/deprecation */
475474
describe('toContext and updateWithContext', () => {
476475
test('toContext should return correct context', () => {
477476
const originalContext = { traceId: 'a', spanId: 'b', sampled: false, description: 'test', op: 'op' };
@@ -552,7 +551,6 @@ describe('Span', () => {
552551
expect(span.data).toStrictEqual({ data0: 'foo', data1: 'bar' });
553552
});
554553
});
555-
/* eslint-enable deprecation/deprecation */
556554

557555
describe('getDynamicSamplingContext', () => {
558556
beforeEach(() => {

0 commit comments

Comments
 (0)