Browse Source

Omit some console logging

jmacura 5 năm trước cách đây
mục cha
commit
95233bca23
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      nuts-data.js

+ 3 - 3
nuts-data.js

@@ -3,7 +3,7 @@ const csv = require('csv-parse');
 
 /* Helper method to load the datasets from CSV and store it in server object */
 module.exports.loadDatasets = function(filePath, dataLoadedCallback) {
-    console.log('Datasets structure loading.');
+    //console.log('Datasets structure loading.');
     var datasets = [];
 
     let columns = undefined;
@@ -24,7 +24,7 @@ module.exports.loadDatasets = function(filePath, dataLoadedCallback) {
             }
         })
         .on('end', () => {
-            console.log('Datasets structure loaded.');
+            //console.log('Datasets structure loaded.');
             dataLoadedCallback(datasets);
         });
 }
@@ -70,7 +70,7 @@ module.exports.loadRuralData = function (filePath, datasets, dataLoadedCallback)
             }
         })
         .on('end', () => {
-            console.log('Rural data file processing finished.');
+            //console.log('Rural data file processing finished.');
             dataLoadedCallback(ruralData);
         });
 }