Skip to content

Commit

Permalink
fix linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
ida613 committed Jan 23, 2025
1 parent 4de7a8e commit 32163aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/dd-trace/src/opentracing/propagation/text_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,9 @@ class TextMapPropagator {
if (context === null) {
context = extractedContext
if (this._config.tracePropagationExtractFirst) {
if (this._hasPropagationStyle('extract', 'baggage') && carrier.baggage) this._extractBaggageItems(carrier, context)
if (this._hasPropagationStyle('extract', 'baggage') && carrier.baggage) {
this._extractBaggageItems(carrier, context)
}
return context
}
} else {
Expand Down

0 comments on commit 32163aa

Please sign in to comment.