From 08067310ccafb8812c5eba7259f829a2fc6bbd43 Mon Sep 17 00:00:00 2001 From: velvettear Date: Wed, 23 Feb 2022 23:35:12 +0100 Subject: [PATCH] removed commented code --- libs/watchers.js | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/libs/watchers.js b/libs/watchers.js index 166c869..4753eb2 100644 --- a/libs/watchers.js +++ b/libs/watchers.js @@ -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) {