File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ function getTemplateFilename(instrumentInternal: AnyUnilingualFormInstrument['in
6363}
6464
6565//functions to extract set and record array strings into values
66- export function extractSetEntry ( entry : string ) {
66+ function extractSetEntry ( entry : string ) {
6767 const result = / S E T \( \s * ( .* ?) \s * \) / . exec ( entry ) ;
6868 if ( ! result ?. [ 1 ] ) {
6969 throw new Error (
@@ -73,7 +73,7 @@ export function extractSetEntry(entry: string) {
7373 return result [ 1 ] ;
7474}
7575
76- export function extractRecordArrayEntry ( entry : string ) {
76+ function extractRecordArrayEntry ( entry : string ) {
7777 const result = / R E C O R D _ A R R A Y \( \s * ( .* ?) [ \s ; ] * \) / . exec ( entry ) ;
7878 if ( ! result ?. [ 1 ] ) {
7979 throw new Error (
@@ -437,13 +437,13 @@ namespace Zod3 {
437437 // success: false
438438 // });
439439 // }
440- if ( interpreterResult . success ) jsonLine [ headers [ j ] ! ] = interpreterResult ! . value ;
440+ if ( interpreterResult . success ) jsonLine [ headers [ j ] ! ] = interpreterResult . value ;
441441 } catch ( error : unknown ) {
442442 if ( error instanceof UploadError ) {
443443 return resolve ( {
444444 message : {
445- en : `${ error . description . en } at column name: '${ key } ' and row number` ,
446- fr : `${ error . description . fr } au nom de colonne : '${ key } '`
445+ en : `${ error . description . en } at column name: '${ key } ' and row number ' ${ rowNumber } ' ` ,
446+ fr : `${ error . description . fr } au nom de colonne : '${ key } ' et numéro de ligne ' ${ rowNumber } `
447447 } ,
448448 success : false
449449 } ) ;
You can’t perform that action at this time.
0 commit comments