mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Allow for existence of query-string parameters in URL
This commit is contained in:
@@ -105,7 +105,8 @@ UrlResolver.prototype._resolve = function () {
|
|||||||
// -----------------
|
// -----------------
|
||||||
|
|
||||||
UrlResolver.prototype._download = function () {
|
UrlResolver.prototype._download = function () {
|
||||||
var file = path.join(this._tempDir, path.basename(this._source));
|
var fileName = url.parse(path.basename(this._source)).pathname;
|
||||||
|
var file = path.join(this._tempDir, fileName);
|
||||||
var reqHeaders = {};
|
var reqHeaders = {};
|
||||||
var that = this;
|
var that = this;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user