We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7616500 commit 27ae148Copy full SHA for 27ae148
lib/server/parse-http.js
@@ -25,7 +25,7 @@ function parseHttpRequest (req, opts) {
25
if (!params.port) throw new Error('invalid port')
26
27
params.left = Number(params.left)
28
- if (isNaN(params.left)) params.left = Infinity
+ if (Number.isNaN(params.left)) params.left = Infinity
29
30
params.compact = Number(params.compact) || 0
31
params.numwant = Math.min(
0 commit comments