fix: default
This commit is contained in:
parent
3e2ccb0d73
commit
ffbdb7777a
|
@ -206,7 +206,7 @@ export default class Flecks {
|
|||
|
||||
invoke(hook, ...args) {
|
||||
if (!this.hooks[hook]) {
|
||||
return [];
|
||||
return {};
|
||||
}
|
||||
return this.flecksImplementing(hook)
|
||||
.reduce((r, fleck) => ({
|
||||
|
|
Loading…
Reference in New Issue
Block a user