1
0
mirror of https://github.com/sasjs/adapter.git synced 2026-01-07 20:40:05 +00:00

fix: special missings accept - regular missing .

This commit is contained in:
2022-03-08 18:28:48 +01:00
parent 1ee07eeecf
commit b0df4cb7ee

View File

@@ -10,7 +10,7 @@ export const convertToCSV = (
let headers: string[] = [] let headers: string[] = []
let csvTest let csvTest
let invalidString = false let invalidString = false
const specialMissingValueRegExp = /^[a-z_]{1}$/i const specialMissingValueRegExp = /^[a-z_.]{1}$/i
if (formats) { if (formats) {
headers = Object.keys(formats).map((key) => `${key}:${formats![key]}`) headers = Object.keys(formats).map((key) => `${key}:${formats![key]}`)