Skip to content

Commit

Permalink
Fix eslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
RafalWilinski committed Apr 22, 2020
1 parent db8f974 commit 8dcd5de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/helpers/gather-os-metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -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...');
}
Expand Down

0 comments on commit 8dcd5de

Please sign in to comment.