Skip to content

Commit

Permalink
fix lint error for ==
Browse files Browse the repository at this point in the history
  • Loading branch information
jonchurch committed Jun 9, 2024
1 parent b360292 commit 852555a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/body-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ describe('bodyParser()', function () {
// update this implementation to run on supported versions of 21 once they exist
// upstream tracking https://github.com/nodejs/node/issues/51562
// express tracking issue: https://github.com/expressjs/express/issues/5615
return getMajorVersion(versionString) == 21
return getMajorVersion(versionString) === '21'
}

methods.slice().sort().forEach(function (method) {
Expand Down

0 comments on commit 852555a

Please sign in to comment.