Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ywave620 committed Feb 8, 2025
1 parent 58ad15d commit 5508e98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/core/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ const randomIndexOfWellknownHeaderNames = [
53, 5, 59, 44, 35, 16, 36, 32, 0, 51, 82
]

if (randomIndexOfWellknownHeaderNames.length === wellknownHeaderNames.length) {
throw new Error('randomIndexOfWellknownHeaderNames should have the same' +
if (randomIndexOfWellknownHeaderNames.length !== wellknownHeaderNames.length) {
throw new Error('randomIndexOfWellknownHeaderNames should have the same ' +
'length as wellknownHeaderNames')
}

Expand Down

0 comments on commit 5508e98

Please sign in to comment.