Fix neohabitat json preprocessor
This commit is contained in:
parent
93d05750bc
commit
fcf52e08c5
|
@ -38,7 +38,7 @@ function templateStringJoins(data) {
|
||||||
var quotesRemoved = trimTextLine.replace(/(^")|("$)/g, '');
|
var quotesRemoved = trimTextLine.replace(/(^")|("$)/g, '');
|
||||||
replacementText.push(quotesRemoved);
|
replacementText.push(quotesRemoved);
|
||||||
}
|
}
|
||||||
return '"{0}"'.format(replacementText.join(''));
|
return `"${replacementText.join('')}"`
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ function templateConstantJoins(data) {
|
||||||
replacementText.push(joinReplacements[trimHabConst]);
|
replacementText.push(joinReplacements[trimHabConst]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return '"{0}"'.format(replacementText.join(''));
|
return `"${replacementText.join('')}"`
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue