mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
fix: CSV export does not escape strings when needed, fixes #770
This commit is contained in:
@ -19,6 +19,15 @@ module.exports = {
|
||||
'revert',
|
||||
'perf'
|
||||
]
|
||||
],
|
||||
'subject-case': [
|
||||
2,
|
||||
'never',
|
||||
[
|
||||
'upper-case',
|
||||
'pascal-case',
|
||||
'start-case'
|
||||
]
|
||||
]
|
||||
}
|
||||
};
|
||||
|
@ -31,7 +31,7 @@ export const exportRows = (args: {
|
||||
const csv = [];
|
||||
const sd = args.csvOptions.stringDelimiter === 'single'
|
||||
? '\''
|
||||
: args.csvOptions.stringDelimiter === 'single'
|
||||
: args.csvOptions.stringDelimiter === 'double'
|
||||
? '"'
|
||||
: '';
|
||||
|
||||
|
Reference in New Issue
Block a user