Skip to content

Commit

Permalink
remove (now-)unnecessary eslint-disable
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Locke <[email protected]>
  • Loading branch information
kevinoid committed Nov 2, 2024
1 parent 1cb4d4a commit 0912633
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion test/travis-status-cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});

Expand Down

0 comments on commit 0912633

Please sign in to comment.