refactor(@embark/services_monitor): use Object.keys instead of Object.entries

This commit is contained in:
Michael Bradley, Jr 2019-09-17 15:47:57 -05:00 committed by Michael Bradley
parent 98400dcef7
commit d4deb8b990
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ ServicesMonitor.prototype.startMonitor = function () {
self.addCheck(pluginCheck.checkName, pluginCheck.checkFn, pluginCheck.time);
});
Object.entries(this.checkList).forEach(([checkName, check]) => {
Object.keys(this.checkList).forEach(checkName => {
try {
self.initCheck(checkName);
} catch (err) {