From b54c70c348c2b5b4a8bed5432195e9d06026ff96 Mon Sep 17 00:00:00 2001 From: Rob Halff <rob.halff@gmail.com> Date: Fri, 17 Oct 2014 01:40:04 +0200 Subject: [PATCH] Use === to compare with 0 --- lib/application.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/application.js b/lib/application.js index 91fc35ed..4387b411 100644 --- a/lib/application.js +++ b/lib/application.js @@ -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) {