mirror of
https://github.com/bower/bower.git
synced 2026-02-11 22:44:58 -05:00
Fix install not resolving with the installed object.
This commit is contained in:
@@ -72,7 +72,7 @@ Project.prototype.install = function (endpoints, options) {
|
||||
// Bootstrap the process
|
||||
return that._bootstrap(targets, resolved, installed)
|
||||
// Handle save and saveDev options
|
||||
.then(function () {
|
||||
.then(function (installed) {
|
||||
var jsonKey;
|
||||
|
||||
if (!options.save && !options.saveDev) {
|
||||
@@ -89,7 +89,9 @@ Project.prototype.install = function (endpoints, options) {
|
||||
});
|
||||
|
||||
return that._saveJson()
|
||||
.progress(function (notification) {
|
||||
.then(function () {
|
||||
return installed;
|
||||
}, null, function (notification) {
|
||||
return notification;
|
||||
});
|
||||
});
|
||||
|
||||
@@ -73,7 +73,6 @@ StandardRenderer.prototype.updateAvailable = function (update) {
|
||||
|
||||
// -------------------------
|
||||
|
||||
|
||||
StandardRenderer.prototype._genericNotification = function (notification) {
|
||||
var stream;
|
||||
var str;
|
||||
|
||||
Reference in New Issue
Block a user