diff --git a/packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts b/packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts index 345a7800e2..e4eb9b367d 100644 --- a/packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts +++ b/packages/opentelemetry-sdk-trace-base/src/export/BatchSpanProcessorBase.ts @@ -163,7 +163,7 @@ export abstract class BatchSpanProcessorBase promises.push(this._export(spans)); } if (this._flushInProgress) { - promises.push(this._flushInProgress) + promises.push(this._flushInProgress); } Promise.all(promises) .then(() => {