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

fix: Fixed so that empty strings are not quoted. #949

Merged
merged 1 commit into from
Dec 5, 2024
Merged

Conversation

chihiro-adachi
Copy link
Contributor

@chihiro-adachi chihiro-adachi commented Dec 5, 2024

Why

The behavior of empty cells has changed due to an update to csv-stringify.
Double quotes are now given to empty cells.
https://github.com/kintone/cli-kintone/actions/runs/12022648673/job/33517941330

Pull Request for the cause
adaltas/node-csv#344

What

Change the quoted_match option so that it does not match an empty string.

How to test

Confirmed that the E2E test passes.
https://github.com/kintone/cli-kintone/actions/runs/12173755388/job/33954636716

Checklist

  • Read CONTRIBUTING.md
  • Updated documentation if it is required.
  • Added/updated tests if it is required. (or tested manually)
  • Passed pnpm lint and pnpm test on the root directory.

@chihiro-adachi chihiro-adachi requested a review from a team as a code owner December 5, 2024 05:23
@chihiro-adachi chihiro-adachi requested review from tasshi-me and shabaraba and removed request for a team December 5, 2024 05:23
Copy link
Member

@tasshi-me tasshi-me left a comment

Choose a reason for hiding this comment

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

LGTM!

@tasshi-me tasshi-me merged commit c5785a5 into main Dec 5, 2024
33 checks passed
@tasshi-me tasshi-me deleted the fix-csv-stringfy branch December 5, 2024 05:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants