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 fb751d7 commit fc35c58Copy full SHA for fc35c58
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