Skip to content

Commit

Permalink
querystring: remove unused catch bindings
Browse files Browse the repository at this point in the history
PR-URL: #24079
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Wyatt Preul <wpreul@gmail.com>
  • Loading branch information
cjihrig authored and targos committed Nov 6, 2018
1 parent fb7c1b3 commit 52468b3
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 @@ -448,7 +448,7 @@ function parse(qs, sep, eq, options) {
function decodeStr(s, decoder) {
try {
return decoder(s);
} catch (e) {
} catch {
return QueryString.unescape(s, true);
}
}

0 comments on commit 52468b3

Please sign in to comment.