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

csv - stringify with no options should not output an empty blank line before the data #4546

Closed
dsherret opened this issue Apr 3, 2024 · 0 comments · Fixed by #4610
Closed
Labels
bug Something isn't working csv good first issue Good for newcomers PR welcome A pull request for this issue would be welcome

Comments

@dsherret
Copy link
Member

dsherret commented Apr 3, 2024

Describe the bug

> import { stringify } from "jsr:@std/csv@0.221";
undefined
> stringify([[1, 2, 3]])
"\r\n1,2,3\r\n"

Steps to Reproduce

See above.

Expected behavior

Should output 1,2,3\n (also, don't bother with \r\n on Windows. Make the world better and just use \n)

Environment

  • std version: 0.221.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working csv good first issue Good for newcomers PR welcome A pull request for this issue would be welcome
Projects
None yet
2 participants