Skip to content

Commit

Permalink
chore: fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
manast committed Mar 2, 2022
1 parent 886d764 commit 190d6e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ const scripts = {
queueKeys[''],
queue.settings.lockDuration,
queue.token,
queue.metrics?.maxDataPoints
queue.metrics && queue.metrics.maxDataPoints
];

return keys.concat(args);
Expand Down
2 changes: 1 addition & 1 deletion test/test_metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const ONE_HOUR = 60 * ONE_MINUTE;

const { MetricsTime } = require('../lib/utils');

describe('metrics', function() {
describe('metrics', () => {
beforeEach(async function() {
this.clock = sinon.useFakeTimers();
const client = new redis();
Expand Down

0 comments on commit 190d6e9

Please sign in to comment.