Skip to content

Commit 31dfecc

Browse files
committed
Fixing lint
1 parent b8a00c3 commit 31dfecc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

bin/scripts/device_list/generate.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ var csv = require('csvtojson');
2525
csv()
2626
//from https://support.google.com/googleplay/answer/1727131?hl=en-GB
2727
.fromFile("./supported_devices.csv")
28-
.on('json', (jsonObj)=>{
29-
process.stderr.write("Parsed data/json line: " + data);
28+
.on('json', (jsonObj)=>{
29+
//process.stderr.write("Parsed data/json line: " + jsonObj);
3030
var d = jsonObj["Marketing Name"] + "";
3131
var i = jsonObj["Model"] + "";
3232
if (i != d && d.trim().length) {
@@ -40,7 +40,7 @@ csv()
4040
}
4141
}
4242
})
43-
// .on('data', (data)=>{
43+
// .on('data', (data)=>{
4444
// //process.stderr.write("Parsed data line: " + data);
4545
// })
4646
// .on('error', (err)=>{
@@ -50,4 +50,4 @@ csv()
5050
process.stderr.write("CSV parsing 'done' trigger\n");
5151
process.stdout.write("/**\n * Object with device models as keys and pretty/marketing device names as values\n * @name countlyDeviceList\n * @global\n * @namespace countlyDeviceList\n */\nvar countlyDeviceList = " + JSON.stringify(devices, null, 4) + ";\n/*global module*/\nif (typeof module !== 'undefined' && module.exports) {\n module.exports = countlyDeviceList;\n}");
5252
});
53-
process.stderr.write("Ending CSV parsing\n");
53+
process.stderr.write("Ending CSV parsing\n");

0 commit comments

Comments
 (0)