Print a good detail message when a conflict occurs and ways to resolve it, #214.

This commit is contained in:
André Cruz
2013-01-29 14:42:46 +00:00
parent 9240a982d6
commit a0c7e5df57
4 changed files with 38 additions and 8 deletions

View File

@@ -186,6 +186,7 @@ Manager.prototype.prune = function () {
this.dependencies = prune(this.getDeepDependencies());
} catch (err) {
this.emit('error', err);
this.emit('data', err.details);
return false;
}
return true;