removed commented code

This commit is contained in:
Daniel Sommer 2022-02-23 23:35:12 +01:00
parent 75c08d5b53
commit 08067310cc

View file

@ -31,17 +31,6 @@ async function start() {
logger.error(err);
}
}
// return new Promise((resolve, reject) => {
// logger.info('starting ' + watchers.length + ' watcher(s)...');
// var promises = [];
// for (var index = 0; index < watchers.length; index++) {
// promises.push(watchers[index].start());
// }
// Promise.all(promises)
// .then(resolve)
// .catch(reject);
// });
}
async function stop() {
@ -53,16 +42,6 @@ async function stop() {
logger.error(err);
}
}
// return new Promise((resolve, reject) => {
// var promises = [];
// for (var index = 0; index < watchers.length; index++) {
// promises.push(watchers[index].stop());
// }
// Promise.all(promises)
// .then(resolve)
// .catch(reject);
// });
}
function watcherCallback(watcher) {