mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
Fix space-infix-ops linter rule
This commit is contained in:
@@ -318,7 +318,7 @@ module.exports = function(Plugins) {
|
||||
callback(null, pluginData);
|
||||
} catch(err) {
|
||||
var pluginDir = pluginPath.split(path.sep);
|
||||
pluginDir = pluginDir[pluginDir.length -1];
|
||||
pluginDir = pluginDir[pluginDir.length - 1];
|
||||
|
||||
winston.error('[plugins/' + pluginDir + '] Error in plugin.json or package.json! ' + err.message);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user