Browse Source

Minor fix to plugin loader

master
Muthu Kumar 7 years ago
committed by GitHub
parent
commit
c0a23f8397
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      plugins/loader.js

2
plugins/loader.js

@ -4,7 +4,7 @@ const { EOL } = require('os')
function plugins() { function plugins() {
const { plugins } = require('../config') const { plugins } = require('../config')
plugins.forEach(plugin => { return plugins.map(plugin => {
require('../plugins/' + plugin + '/main.js') require('../plugins/' + plugin + '/main.js')
console.log(EOL + 'Loaded plugin ' + plugin + '...') console.log(EOL + 'Loaded plugin ' + plugin + '...')
}) })

Loading…
Cancel
Save