2 changed files with 13 additions and 11 deletions
@ -1,10 +1,12 @@ |
|||||
'use strict' |
'use strict' |
||||
|
|
||||
|
const { EOL } = require('os') |
||||
|
|
||||
function plugins() { |
function plugins() { |
||||
const { plugins } = require('../config') |
const { plugins } = require('../config') |
||||
plugins.forEach(plugin => { |
plugins.forEach(plugin => { |
||||
require('../plugins/' + plugin + '/main.js') |
require('../plugins/' + plugin + '/main.js') |
||||
console.log(`Loaded plugin ${plugin}...`) |
console.log(EOL + 'Loaded plugin ' + plugin + '...') |
||||
}) |
}) |
||||
} |
} |
||||
|
|
Loading…
Reference in new issue