From 040d2ff2963c227126077b56746d791cb571c6fe Mon Sep 17 00:00:00 2001 From: Joseph Balsamo Date: Fri, 16 Apr 2021 15:09:49 -0400 Subject: [PATCH] Fixed EOL character detection. --- convert_heatmaps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert_heatmaps.js b/convert_heatmaps.js index 76389e4..f457047 100644 --- a/convert_heatmaps.js +++ b/convert_heatmaps.js @@ -73,7 +73,7 @@ url = clio.host; const fileTemps = {}; var manifest = []; const mfData = [] -manifest = fs.readFileSync(inputFolder + '/' + clio.manifest).toString().split('\r\n'); +manifest = fs.readFileSync(inputFolder + '/' + clio.manifest).toString().split(/\r\n|\n/); console.log('Reading manifest file.');