Skip to content

Commit

Permalink
lib: removed unused variable
Browse files Browse the repository at this point in the history
This change removes a variable that is not being used in the file.

PR-URL: #23497
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Guy Bedford <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
Long Nguyen authored and jasnell committed Oct 17, 2018
1 parent 670770e commit c1ec3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ Object.defineProperties(URL.prototype, {
if (ctx.path.length > 0) {
try {
return (new URL(ctx.path[0])).origin;
} catch (err) {
} catch {
// fall through... do nothing
}
}
Expand Down

0 comments on commit c1ec3bf

Please sign in to comment.