From da8d0f3265bba441e0bebc78aa64f1b7e85ee04c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Cruz?= Date: Fri, 5 Jul 2013 08:23:28 +0100 Subject: [PATCH] Typos. --- lib/commands/prune.js | 4 ++-- lib/commands/uninstall.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/commands/prune.js b/lib/commands/prune.js index 13c95963..14380eb3 100644 --- a/lib/commands/prune.js +++ b/lib/commands/prune.js @@ -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); diff --git a/lib/commands/uninstall.js b/lib/commands/uninstall.js index f7e638a6..4f5c0eca 100644 --- a/lib/commands/uninstall.js +++ b/lib/commands/uninstall.js @@ -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);