From 0912633e17fd998733f512c4e6eae4ff6a508c9f Mon Sep 17 00:00:00 2001 From: Kevin Locke Date: Sat, 2 Nov 2024 16:03:29 -0600 Subject: [PATCH] remove (now-)unnecessary eslint-disable Signed-off-by: Kevin Locke --- index.js | 1 - test/travis-status-cmd.js | 1 - 2 files changed, 2 deletions(-) diff --git a/index.js b/index.js index dc2173d..c18c2db 100644 --- a/index.js +++ b/index.js @@ -128,7 +128,6 @@ function travisStatus(options, callback) { && requestOpts.forever === undefined && requestOpts.pool === undefined)) { const apiUrl = - // eslint-disable-next-line unicorn/consistent-destructuring new URL(options.apiEndpoint || TravisStatusChecker.ORG_URI); const Agent = apiUrl.protocol === 'https:' ? https.Agent : apiUrl.protocol === 'http:' ? http.Agent diff --git a/test/travis-status-cmd.js b/test/travis-status-cmd.js index 738b3a6..8266503 100644 --- a/test/travis-status-cmd.js +++ b/test/travis-status-cmd.js @@ -38,7 +38,6 @@ describe('travis-status command', () => { // Ensure that expectations are not carried over between tests beforeEach(() => { - // eslint-disable-next-line unicorn/consistent-destructuring travisStatus = sinon.expectation.create('travisStatus').never(); });