mirror of
https://github.com/bower/bower.git
synced 2026-01-15 01:08:07 -05: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 () {
|
||||
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 that = this;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user