Use === to compare with 0
This commit is contained in:
parent
027f25a22f
commit
b54c70c348
|
@ -459,7 +459,7 @@ app.listen = function(cb) {
|
|||
});
|
||||
|
||||
var useAppConfig =
|
||||
arguments.length == 0 ||
|
||||
arguments.length === 0 ||
|
||||
(arguments.length == 1 && typeof arguments[0] == 'function');
|
||||
|
||||
if (useAppConfig) {
|
||||
|
|
Loading…
Reference in New Issue