mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 02:18:26 +00:00
Fixes related to addons
- Fix applying new-items from addon results - Notify joex when a scheduled addon is updated
This commit is contained in:
@ -25,7 +25,7 @@ object AddonOutput {
|
||||
val empty: AddonOutput = AddonOutput()
|
||||
|
||||
def combine(a: AddonOutput, b: AddonOutput): AddonOutput =
|
||||
AddonOutput(a.commands ++ b.commands, a.files ++ b.files)
|
||||
AddonOutput(a.commands ++ b.commands, a.files ++ b.files, a.newItems ++ b.newItems)
|
||||
|
||||
implicit val addonResultMonoid: Monoid[AddonOutput] =
|
||||
Monoid.instance(empty, combine)
|
||||
|
Reference in New Issue
Block a user