http: fix typo in validation.
This commit is contained in:
parent
a34f680f9a
commit
19f61773f7
@ -214,7 +214,7 @@ HTTPServer.prototype._init = function _init() {
|
||||
|
||||
if (params.start != null) {
|
||||
options.start = Number(params.start);
|
||||
assert(utils.isUInt32(options.height), 'Start must be a number.');
|
||||
assert(utils.isUInt32(options.start), 'Start must be a number.');
|
||||
}
|
||||
|
||||
if (params.end != null) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user