From 5b281bd20212a0cac9732f4cbd3faf9e83056ce2 Mon Sep 17 00:00:00 2001 From: Matt Holmes Date: Fri, 12 Oct 2018 09:36:21 -0700 Subject: [PATCH] lib: remove unused 'e' from catch PR-URL: https://github.com/nodejs/node/pull/23458 Reviewed-By: Gireesh Punathil Reviewed-By: Colin Ihrig Reviewed-By: Hitesh Kanwathirtha Reviewed-By: Anna Henningsen Reviewed-By: James M Snell Reviewed-By: Sakthipriyan Vairamani --- lib/querystring.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/querystring.js b/lib/querystring.js index ba676d8c6d7fab..3a4d09bf78e848 100644 --- a/lib/querystring.js +++ b/lib/querystring.js @@ -109,7 +109,7 @@ function unescapeBuffer(s, decodeSpaces) { function qsUnescape(s, decodeSpaces) { try { return decodeURIComponent(s); - } catch (e) { + } catch { return QueryString.unescapeBuffer(s, decodeSpaces).toString(); } }