Skip to content

Commit

Permalink
lib: remove unused 'e' from catch
Browse files Browse the repository at this point in the history
PR-URL: #23458
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Hitesh Kanwathirtha <[email protected]>
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Sakthipriyan Vairamani <[email protected]>
  • Loading branch information
pdxmholmes authored and addaleax committed Oct 14, 2018
1 parent 69ed89d commit fd43fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/querystring.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down

0 comments on commit fd43fd4

Please sign in to comment.