Skip to content

Commit

Permalink
[minor] Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Aug 23, 2021
1 parent 53d4d6d commit 5472388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ function Url(address, location, parser) {
url.username = url.password = '';
if (url.auth) {
instruction = url.auth.split(':');
url.username = instruction[0] || '';
url.username = instruction[0];
url.password = instruction[1] || '';
}

Expand Down

0 comments on commit 5472388

Please sign in to comment.