1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-10 17:04:36 +00:00

chore: string escaping

This commit is contained in:
2022-04-22 11:54:59 +02:00
parent ecec2e77c0
commit 54516665bf
2 changed files with 2 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ describe('formatDataForRequest', () => {
expect(() => formatDataForRequest(tableWithMissingValues)).toThrow(
new Error(
'A Special missing value can only be a single character from \'A\' to \'Z\', \'_\', \'.[a-z]\', \'._\''
`A Special missing value can only be a single character from 'A' to 'Z', '_', '.[a-z]', '._'`
)
)
})

View File

@@ -134,7 +134,7 @@ export const convertToCSV = (
if (value && !isSpecialMissing(value)) {
console.log(`🤖[value]🤖`, value)
throw new Error(
'A Special missing value can only be a single character from \'A\' to \'Z\', \'_\', \'.[a-z]\', \'._\''
`A Special missing value can only be a single character from 'A' to 'Z', '_', '.[a-z]', '._'`
)
}