mirror of https://github.com/embarklabs/embark.git
refactor(@embark/services_monitor): use Object.keys instead of Object.entries
This commit is contained in:
parent
98400dcef7
commit
d4deb8b990
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue