« get me outta code hell

content: generateAlbumNavLinks, generatePageLayout nav bar - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-04-15 14:16:04 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-04-15 14:16:04 -0300
commit357015de21e7e427f25b31a2622fb9182ec292e1 (patch)
treebabdd9b39abafa8a5d3add55436150757942c002 /src/util
parent6b35077eb1542eaf9a89534d6920c35fee86cc04 (diff)
content: generateAlbumNavLinks, generatePageLayout nav bar
Diffstat (limited to 'src/util')
-rw-r--r--src/util/sugar.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/sugar.js b/src/util/sugar.js
index f3b9e732..0362e327 100644
--- a/src/util/sugar.js
+++ b/src/util/sugar.js
@@ -226,6 +226,10 @@ export function openAggregate({
       );
     };
 
+  aggregate.push = (error) => {
+    errors.push(error);
+  };
+
   aggregate.call = (fn, ...args) => {
     return aggregate.wrap(fn)(...args);
   };