Skip to content

Commit

Permalink
fix: CSV export does not escape strings when needed, fixes #770
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabio286 committed Mar 9, 2024
1 parent 86acb39 commit dd5b417
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,15 @@ module.exports = {
'revert',
'perf'
]
],
'subject-case': [
2,
'never',
[
'upper-case',
'pascal-case',
'start-case'
]
]
}
};
2 changes: 1 addition & 1 deletion src/renderer/libs/exportRows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const exportRows = (args: {
const csv = [];
const sd = args.csvOptions.stringDelimiter === 'single'
? '\''
: args.csvOptions.stringDelimiter === 'single'
: args.csvOptions.stringDelimiter === 'double'
? '"'
: '';

Expand Down

0 comments on commit dd5b417

Please sign in to comment.