Skip to content

Commit

Permalink
Fix formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
RafalSumislawski committed Sep 25, 2023
1 parent f7dd112 commit 8d55df7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export abstract class BatchSpanProcessorBase<T extends BufferConfig>
}
this._isFlushInProgress = true;
this._clearTimer();

const spans = this._finishedSpans.splice(0, this._maxExportBatchSize);
this._export(spans)
.then(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import { InMemorySpanExporter, ReadableSpan } from '../../../src';
*/
export class TestExporterWithDelay extends InMemorySpanExporter {
private _exporterCreatedSpans: ReadableSpan[] = [];
private _delayMs: number;
private _delayMs: number;

constructor(delayMs: number) {
super();
Expand All @@ -33,7 +33,7 @@ export class TestExporterWithDelay extends InMemorySpanExporter {
spans: ReadableSpan[],
resultCallback: (result: ExportResult) => void
): void {
setTimeout(() => super.export(spans,resultCallback), this._delayMs);
setTimeout(() => super.export(spans, resultCallback), this._delayMs);
}

override shutdown(): Promise<void> {
Expand Down

0 comments on commit 8d55df7

Please sign in to comment.