Skip to content

Commit 5e27669

Browse files
committed
style(native): fix span lint failures
1 parent 2a0dcd1 commit 5e27669

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • packages/dd-trace/src/native

packages/dd-trace/src/native/span.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ const { channel } = require('dc-polyfill')
88
const DatadogSpan = require('../opentracing/span')
99
const id = require('../id')
1010
const tagger = require('../tagger')
11+
const { MANUAL_DROP, MANUAL_KEEP, SAMPLING_PRIORITY } = require('../../../../ext/tags')
12+
const { DD_MAJOR } = require('../../../../version')
1113
const { MAX_META_VALUE_LENGTH } = require('../encode/tags-processors')
1214
const { encode: encodeMsgpack } = require('../msgpack')
1315
const NativeSpanContext = require('./span_context')
1416
const { OpCode } = require('./index')
15-
const { MANUAL_DROP, MANUAL_KEEP, SAMPLING_PRIORITY } = require('../../../../ext/tags')
16-
const { DD_MAJOR } = require('../../../../version')
1717

1818
// Republished from the `addTags` override so subscribers (e.g. the wall
1919
// profiler's web-tag refresh) still receive tag updates on the native path.
@@ -389,6 +389,7 @@ class NativeDatadogSpan extends DatadogSpan {
389389

390390
return spanContext
391391
}
392+
392393
/**
393394
* Override `setTag` for a single-tag fast path that avoids the
394395
* `{ [key]: value }` literal + parsedTags round-trip the batched
@@ -609,7 +610,6 @@ class NativeDatadogSpan extends DatadogSpan {
609610

610611
module.exports = NativeDatadogSpan
611612

612-
613613
function isSamplingPriorityTag (key) {
614614
return key === MANUAL_KEEP || key === MANUAL_DROP || key === SAMPLING_PRIORITY
615-
}
615+
}

0 commit comments

Comments
 (0)