mirror of https://github.com/Fabio286/antares.git
fix: CSV export does not escape strings when needed, fixes #770
This commit is contained in:
parent
86acb390ac
commit
dd5b41716a
|
@ -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'
|
||||
? '"'
|
||||
: '';
|
||||
|
||||
|
|
Loading…
Reference in New Issue