mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-10 14:44:52 +08:00
Fix message processor pipeline initialization
- Was not actually returning an array of functions from `processors/index.js`
This commit is contained in:
parent
8172cad622
commit
5bf63f8ea6
1 changed files with 1 additions and 0 deletions
|
@ -10,5 +10,6 @@ const processors = fs.readdirSync(__dirname)
|
|||
}
|
||||
})
|
||||
.sort(({order: o1}, {order: o2}) => o1 - o2)
|
||||
.map(({processMessage}) => processMessage)
|
||||
|
||||
module.exports = {processors}
|
||||
|
|
Loading…
Add table
Reference in a new issue