Skip to content

refactor(core): remove unnecessary closure in _export() - #6360

Merged
david-luna merged 2 commits into
open-telemetry:mainfrom
cjihrig:core-closure
Feb 4, 2026
Merged

refactor(core): remove unnecessary closure in _export()#6360
david-luna merged 2 commits into
open-telemetry:mainfrom
cjihrig:core-closure

Apply suggestion from @cjihrig

4bda627
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 1, 2026 in 1s

95.48% (-0.01%) compared to f15aa7e

View this Pull Request on Codecov

95.48% (-0.01%) compared to f15aa7e

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.48%. Comparing base (f15aa7e) to head (4bda627).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6360      +/-   ##
==========================================
- Coverage   95.48%   95.48%   -0.01%     
==========================================
  Files         363      363              
  Lines       11564    11563       -1     
  Branches     2669     2669              
==========================================
- Hits        11042    11041       -1     
  Misses        522      522              
Files with missing lines Coverage Δ
...ckages/opentelemetry-core/src/internal/exporter.ts 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.