mirror of
https://github.com/bower/bower.git
synced 2026-04-24 03:00:19 -04:00
Merge pull request #1193 from chiester/wip-1191-improveUninstallWarning
clarify uninstall warning message
This commit is contained in:
@@ -685,7 +685,7 @@ Project.prototype._removePackages = function (packages) {
|
||||
// Delete directory
|
||||
if (!dir) {
|
||||
promise = Q.resolve();
|
||||
that._logger.warn('not-installed', name, {
|
||||
that._logger.warn('not-installed', '\'' + name + '\'' + ' cannot be uninstalled as it is not currently installed', {
|
||||
name: name
|
||||
});
|
||||
} else {
|
||||
@@ -713,7 +713,7 @@ Project.prototype._removePackages = function (packages) {
|
||||
|
||||
promises.push(promise);
|
||||
});
|
||||
|
||||
|
||||
return Q.all(promises);
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user