Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pichlermarc committed Oct 5, 2023
1 parent b43ac9b commit dd742ed
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ export abstract class BatchSpanProcessorBase<T extends BufferConfig>
private _shutdownOnce: BindOnceFuture<void>;
private _droppedSpansCount: number = 0;

constructor(private readonly _exporter: SpanExporter, config?: T) {
constructor(
private readonly _exporter: SpanExporter,
config?: T
) {
const env = getEnv();
this._maxExportBatchSize =
typeof config?.maxExportBatchSize === 'number'
Expand Down Expand Up @@ -201,8 +204,8 @@ export abstract class BatchSpanProcessorBase<T extends BufferConfig>
doExport();
} else {
Promise.all(
pendingResources.map(resource =>
resource.waitForAsyncAttributes?.()
pendingResources.map(
resource => resource.waitForAsyncAttributes?.()
)
).then(doExport, err => {
globalErrorHandler(err);
Expand Down

0 comments on commit dd742ed

Please sign in to comment.