Implement check of newer versions in the list command.

Also:
- Fix some errors not being emitted when a command failed.
- Update semver module; no need to check .valid against null.
This commit is contained in:
André Cruz
2013-07-03 14:37:28 +01:00
parent deee654426
commit 7becb19da4
16 changed files with 199 additions and 87 deletions

View File

@@ -24,7 +24,8 @@ function uninstall(names, options, config) {
project.uninstall(names, options)
.then(function (installed) {
emitter.emit('end', installed);
}, function (error) {
})
.fail(function (error) {
emitter.emit('error', error);
});