if a locally installed plugin not published to npm has a syntax error, this fixes it. closes #2512

v1.18.x
Julian Lam 10 years ago
parent 9b083a6a66
commit 273e26ddb1

@ -604,6 +604,7 @@ var fs = require('fs'),
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) {
pluginMap[plugin.id] = pluginMap[plugin.id] || {};
pluginMap[plugin.id].installed = true;
pluginMap[plugin.id].error = true;
return next();

Loading…
Cancel
Save