Skip to content

Commit 2ce8f7a

Browse files
pdxmholmesMylesBorins
authored andcommitted
lib: remove unused 'e' from catch
PR-URL: #23458 Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Hitesh Kanwathirtha <digitalinfinity@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
1 parent bc7c872 commit 2ce8f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/querystring.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function unescapeBuffer(s, decodeSpaces) {
109109
function qsUnescape(s, decodeSpaces) {
110110
try {
111111
return decodeURIComponent(s);
112-
} catch (e) {
112+
} catch {
113113
return QueryString.unescapeBuffer(s, decodeSpaces).toString();
114114
}
115115
}

0 commit comments

Comments
 (0)