-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(csv): minor cleanups #5158
Conversation
} | ||
}, | ||
transform(chunk, controller) { | ||
controller.enqueue( | ||
stringify([chunk], { separator, headers: false, columns }), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC, throwing naturally achieves the same result as the previous try/catch block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5158 +/- ##
=======================================
Coverage 93.23% 93.23%
=======================================
Files 473 473
Lines 38056 38044 -12
Branches 5423 5422 -1
=======================================
- Hits 35480 35471 -9
+ Misses 2532 2529 -3
Partials 44 44 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This reverts commit 506439a.
No description provided.