From 8dcd5de54d29b1395153f7ccb3ccc8019e6249d5 Mon Sep 17 00:00:00 2001 From: Rafal Wilinski Date: Wed, 22 Apr 2020 11:16:37 +0200 Subject: [PATCH] Fix eslint warnings --- src/helpers/gather-os-metrics.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers/gather-os-metrics.js b/src/helpers/gather-os-metrics.js index ee4ac09..c886a02 100644 --- a/src/helpers/gather-os-metrics.js +++ b/src/helpers/gather-os-metrics.js @@ -4,10 +4,10 @@ const v8 = require('v8'); const sendMetrics = require('./send-metrics'); const debug = require('debug')('express-status-monitor'); -let eventLoopStats; +let eventLoopStats; // eslint-disable-line try { - eventLoopStats = require('event-loop-stats'); + eventLoopStats = require('event-loop-stats'); // eslint-disable-line } catch (error) { console.warn('event-loop-stats not found, ignoring event loop metrics...'); }