« get me outta code hell

data: Thing.composite.from: fix undefined return for explicit exit - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-08-26 18:46:14 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-09-05 21:02:52 -0300
commite2f1cd30f8d5804f97043faedc5aea9fe06cea32 (patch)
treec888c51ba3ff7d8004c865712495a282bb1850cb
parent809ae313afdb6c7bb859a94170f6fd2c6c888591 (diff)
data: Thing.composite.from: fix undefined return for explicit exit
-rw-r--r--src/data/things/thing.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data/things/thing.js b/src/data/things/thing.js
index 578a5a4e..c870b89c 100644
--- a/src/data/things/thing.js
+++ b/src/data/things/thing.js
@@ -969,7 +969,7 @@ export default class Thing extends CacheableObject {
               debug(() => `early-exit: ${inspect(continuationStorage.providedValue, {compact: true})}`);
               debug(() => color.bright(`end composition (annotation: ${annotation})`));
 
-              return continuationSymbol.providedValue;
+              return continuationStorage.providedValue;
             }
 
             if (continuationStorage.returnedWith === 'raise') {