filter system plugins from list

This commit is contained in:
barisusakli
2015-08-13 12:33:24 -04:00
parent aeb15ed7ee
commit 46bcd66297

View File

@@ -216,6 +216,10 @@ var fs = require('fs'),
return callback(err);
}
installedPlugins = installedPlugins.filter(function(plugin) {
return plugin && !plugin.system;
});
async.each(installedPlugins, function(plugin, next) {
// If it errored out because a package.json or plugin.json couldn't be read, no need to do this stuff
if (plugin.error) {