clear unused code in main.js
This commit is contained in:
@@ -6,7 +6,7 @@ const {MongoManager, formatDate} = require("./src/workers/mongo_manager");
|
||||
const mongoManager = new MongoManager();
|
||||
|
||||
let excelUtil = new ExcelUtil();
|
||||
let contactList = excelUtil.readContacts();
|
||||
let contactList = excelUtil.readContacts().slice(11,12);
|
||||
mongoManager.connect().then(r =>
|
||||
|
||||
android.devices().then((devices) => {
|
||||
@@ -54,13 +54,3 @@ async function startWithList(contacts, device) {
|
||||
console.log(contents);
|
||||
}, Promise.resolve());
|
||||
}
|
||||
|
||||
// (async () => {
|
||||
// android.devices().then((devices) => {
|
||||
// let segmentNumber = contactList.length / devices.length;
|
||||
// for (let i = 0; i < devices.length; i++) {
|
||||
// startWithList(contactList.slice(i * segmentNumber, segmentNumber * (i + 1)), devices[i]);
|
||||
// }
|
||||
// })
|
||||
// })()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user