This commit is contained in:
André Cruz
2013-07-05 08:23:28 +01:00
parent 9b57d18143
commit da8d0f3265
2 changed files with 4 additions and 4 deletions

View File

@@ -31,8 +31,8 @@ function prune(names, config) {
// Uninstall them
project.uninstall(names)
.then(function (installed) {
emitter.emit('end', installed);
.then(function (removed) {
emitter.emit('end', removed);
})
.fail(function (error) {
emitter.emit('error', error);

View File

@@ -22,8 +22,8 @@ function uninstall(names, options, config) {
emitter = new EventEmitter();
project.uninstall(names, options)
.then(function (installed) {
emitter.emit('end', installed);
.then(function (removed) {
emitter.emit('end', removed);
})
.fail(function (error) {
emitter.emit('error', error);