Added the missing install command to the update task

Fixes #1518
This commit is contained in:
Laurent Goderre
2014-09-16 10:24:20 -04:00
parent fd4d68038b
commit ef237fc521

View File

@@ -192,6 +192,9 @@ Project.prototype.update = function (names, options) {
.then(function () {
return that._manager.preinstall(that._json);
})
.then(function () {
return that._manager.install(that._json);
})
.then(function (installed) {
// Save JSON, might contain changes to resolutions
return that.saveJson()