From ffbdb7777af3ede0a2b629fc2d7292dfd7763f23 Mon Sep 17 00:00:00 2001 From: cha0s Date: Sun, 13 Mar 2022 10:15:29 -0500 Subject: [PATCH] fix: default --- packages/core/src/flecks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/flecks.js b/packages/core/src/flecks.js index 3433424..c698fc9 100644 --- a/packages/core/src/flecks.js +++ b/packages/core/src/flecks.js @@ -206,7 +206,7 @@ export default class Flecks { invoke(hook, ...args) { if (!this.hooks[hook]) { - return []; + return {}; } return this.flecksImplementing(hook) .reduce((r, fleck) => ({