From ff11b3cdf19aa4633a7eb051ff7a588a6b783015 Mon Sep 17 00:00:00 2001 From: Rakesh Bisht Date: Wed, 1 Mar 2023 01:25:29 +0530 Subject: [PATCH] 'continue' is unnecessary as the last statement in while loop inside next() method --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 362bccd1..1fdb1703 100644 --- a/index.js +++ b/index.js @@ -272,7 +272,6 @@ Router.prototype.handle = function handle(req, res, callback) { // don't even bother matching route if (!has_method && method !== 'HEAD') { match = false - continue } }