fix: default

This commit is contained in:
cha0s 2022-03-13 10:15:29 -05:00
parent 3e2ccb0d73
commit ffbdb7777a

View File

@ -206,7 +206,7 @@ export default class Flecks {
invoke(hook, ...args) { invoke(hook, ...args) {
if (!this.hooks[hook]) { if (!this.hooks[hook]) {
return []; return {};
} }
return this.flecksImplementing(hook) return this.flecksImplementing(hook)
.reduce((r, fleck) => ({ .reduce((r, fleck) => ({