diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/sugar.js | 4 |
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); }; |