isaacs/npm — Issue #1754: npm.commands.uninstall() doesn't return anything in the callback
Author: slaskis
Created: 2011-11-22 15:04:13+00:00
State: open

I'm not sure if this is by design, but it seem the callback of `npm.commands.uninstall()` returns an array as the second argument. But it's always empty for me, uninstalling anything or not.

So the only way I see if something actually happened is that it outputs a 'warn' log if no package was found. It would be useful if it returned the uninstalled packages in the array, similar to how `npm.commands.install()` does it.