Skip to content

Commit

Permalink
fix failing test caused by changes in prepend-http module
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 11, 2016
1 parent 7d0a45a commit 7ad5e0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ function normalizeArguments(url, opts) {
}

if (typeof url === 'string') {
url = url.replace(/^unix:/, 'http://$&');
url = urlParseLax(url);

if (url.auth) {
Expand Down

0 comments on commit 7ad5e0e

Please sign in to comment.