Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit e3adca8

Browse files
committed
Fixed issue #10 where empty values were using previous value
1 parent 55e2765 commit e3adca8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ImportJSON/Code.gs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ function applyXPathRule_(rule, path, options) {
478478
* debugLocation: Prepend each value with the row & column it belongs in
479479
*/
480480
function defaultTransform_(data, row, column, options) {
481-
if (!data[row][column]) {
481+
if (data[row][column] == null) {
482482
if (row < 2 || hasOption_(options, "noInherit")) {
483483
data[row][column] = "";
484484
} else {

0 commit comments

Comments
 (0)