1
0
mirror of https://github.com/sasjs/adapter.git synced 2025-12-11 01:14:36 +00:00

chore: error improved

This commit is contained in:
2022-04-21 15:45:59 +02:00
parent 9bf3885868
commit ecec2e77c0
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 or _ or .[a-z] or ._'
'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 or _ or .[a-z] or ._'
'A Special missing value can only be a single character from \'A\' to \'Z\', \'_\', \'.[a-z]\', \'._\''
)
}