a plugin's package.json can be invalid too

This commit is contained in:
psychobunny
2014-12-02 21:57:16 -05:00
parent 5576ef0d1e
commit fc00791125

View File

@@ -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);
}