a plugin's package.json can be invalid too

v1.18.x
psychobunny 10 years ago
parent 5576ef0d1e
commit fc00791125

@ -709,7 +709,7 @@ var fs = require('fs'),
packageInfo = JSON.parse(results.packageJSON);
pluginInfo = JSON.parse(results.pluginJSON);
} catch (err) {
winston.warn("Plugin: " + file + " is corrupted or invalid. Please check plugin.json for errors.");
winston.warn("Plugin: " + file + " is corrupted or invalid. Please check package.json and plugin.json for errors.");
return next(err, null);
}

Loading…
Cancel
Save