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: nodejs#15551
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Timothy Gu <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
jason9693 authored and tniessen committed Sep 26, 2017
1 parent cfee1c9 commit 7d55b81
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 @@ -94,9 +94,9 @@ const querystring = require('querystring');
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 parse(url, parseQueryString, slashesDenoteHost) {
Expand Down

0 comments on commit 7d55b81

Please sign in to comment.