File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ function stringNormalizer(str) {
7
7
8
8
// For translating null/nil-like values into empty strings
9
9
function normalizeEmptyValues ( data , unalterableColumns = [ ] ) {
10
+ logger . debug ( 'Checking for empty CSV values to normalize' ) ;
10
11
const EMPTY_VALUES = [ 'null' , 'nil' ] . map ( stringNormalizer ) ;
11
12
const normalizedUnalterableColumns = unalterableColumns . map ( stringNormalizer ) ;
12
13
// Flag tracking if empty values were normalized or not.
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ class CSVURLModule {
31
31
} ) ;
32
32
logger . debug ( 'Data parsing successful' ) ;
33
33
this . data = normalizeEmptyValues ( parsedData , this . unalterableColumns ) ;
34
- logger . debug ( 'Normalization of empty values successful' ) ;
35
34
}
36
35
}
37
36
You can’t perform that action at this time.
0 commit comments