mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-12 04:25:31 +08:00
10 lines
206 B
JavaScript
10 lines
206 B
JavaScript
|
const fs = require('fs')
|
||
|
|
||
|
const processors = fs.readdirSync(__dirname)
|
||
|
.filter((file) => file !== 'index.js')
|
||
|
.map((file) => {
|
||
|
return require(`./${file}`).processMessage
|
||
|
})
|
||
|
|
||
|
module.exports = {processors}
|