Skip to content
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

Merged
merged 2 commits into from
Jun 27, 2024
Merged

refactor(csv): minor cleanups #5158

merged 2 commits into from
Jun 27, 2024

Conversation

iuioiua
Copy link
Collaborator

@iuioiua iuioiua commented Jun 27, 2024

No description provided.

@iuioiua iuioiua requested a review from kt3k as a code owner June 27, 2024 01:36
@github-actions github-actions bot added the csv label Jun 27, 2024
}
},
transform(chunk, controller) {
controller.enqueue(
stringify([chunk], { separator, headers: false, columns }),
Copy link
Collaborator Author

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.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

codecov bot commented Jun 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.23%. Comparing base (ba256e3) to head (af6215f).

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.
📢 Have feedback on the report? Share it here.

@iuioiua iuioiua enabled auto-merge (squash) June 27, 2024 02:03
Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iuioiua iuioiua merged commit 506439a into main Jun 27, 2024
15 checks passed
@iuioiua iuioiua deleted the csv-minor-cleanups branch June 27, 2024 04:27
kt3k added a commit to kt3k/deno_std that referenced this pull request Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants