Skip to content

Commit

Permalink
url: change variable name to be more descriptive
Browse files Browse the repository at this point in the history
PR-URL: #15551
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
jason9693 authored and MylesBorins committed Oct 25, 2017
1 parent d1bf8ce commit 27af0bb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ ParsedQueryString.prototype = Object.create(null);
function urlParse(url, parseQueryString, slashesDenoteHost) {
if (url instanceof Url) return url;

var u = new Url();
u.parse(url, parseQueryString, slashesDenoteHost);
return u;
var urlObject = new Url();
urlObject.parse(url, parseQueryString, slashesDenoteHost);
return urlObject;
}

Url.prototype.parse = function(url, parseQueryString, slashesDenoteHost) {
Expand Down

0 comments on commit 27af0bb

Please sign in to comment.