Skip to content

Commit

Permalink
Fix lint error (nodejs#1293)
Browse files Browse the repository at this point in the history
  • Loading branch information
is2ei authored and crysmags committed Feb 27, 2024
1 parent b5cb3f8 commit 2fc09e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .husky/pre-commit
@@ -1,4 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run lint
npm run test
2 changes: 1 addition & 1 deletion lib/fetch/index.js
Expand Up @@ -1586,7 +1586,7 @@ function httpNetworkFetch (

// 7. Let newConnection be "yes" if forceNewConnection is true; otherwise
// "no".
const newConnection = forceNewConnection ? 'yes' : 'no'
const newConnection = forceNewConnection ? 'yes' : 'no' // eslint-disable-line no-unused-vars

// 8. Switch on request’s mode:
if (request.mode === 'websocket') {
Expand Down

0 comments on commit 2fc09e7

Please sign in to comment.